Cannot assign a geoprocessing valuetable object to a string with embedded spaces.
Needs documentation to inform the user that the string needs to be enclosed in single quotes.
Workaround for vt.SetRow 2, "<a href="file:D:/inc479405/LandUse" target="_blank">D:\inc479405\LandUse</a> selection.lyr"is to enclose the string in single quotes as: Dim inpath1 As String inpath1 = "<a href="file:D:/inc479405/LandUse" target="_blank">D:\inc479405\LandUse</a> selection.lyr" Dim quote As String quote = "'" vt.SetRow 1, quote + inpath1 + quote