This should be simple, but I'm missing something.
I've got a script that populates an array, then should loop through the array and perform an action. When that action is to display a message box with the value of the array at that iteration, it works. When I try to perform a different action (bring up a web page that uses that array value as part of a URL), the first iteration of the loop works, but then I get a 'Permission Denied' error.
If I make the commented msgbox below the action vs. the call statement directly below it, and comment the call statement it runs. If I reverse it back, blows up on i = 1.
There's gotta be something I don't understand. Any ideas? TIA
If UBound(blah2) >= 0 Then
For i = 0 To UBound(blah2)
blah3 = "http://domainname.com/" & blah2(i).nameProp
else msgbox("no values returned")