David,
Nice spot on the O vs. zero. Intriguing that the loop was still looping. Go figure.
I'm looking at the href property of one of the links (through the object browser) - here's what it is for one of the links on the page:
javascript:showwindow('/gsa/webbas01.nsf/(vwwebpage)/webbase.htm?opendocument&login&Scope=PRJC____,App=Basics__________,ProjectID=1188')
vs. the nameprop property of the same link:
webbase.htm?opendocument&login&Scope=PRJC____,App=Basics__________,ProjectID=1188')
So the href still isn't a full link (just as the nameprop isn't), and I'd have to play text games with it, stripping off the 'javascript:showwindow.... to get it to work vs. the way I'm doing it now (which works on the first iteration). So I'm not sure I understand the advantage to using it vs nameprop.
I recognize that its probably hard to tell what's going on with the other variables in the code I posted since you can't see where they're coming from.
Correcting the zero had no effect sadly - still getting 'permission denied' on the second iteration of the loop if the ToURL method is n't commented out. Works fine if I eliminate the ToURL method and just display the message box with the value of the array at that loop. Got me stumped.