
Originally Posted by
6StringJazzer
First--I should have said this right away--when asking help for an error, always give the error message that you see. "should work but it is not" What does "not work" mean in this case?
This should work the same in Excel as it does in Word. I would suggest setting a breakpoint on that line of code then when it comes to that line type the following into the Immediate Window:
print Path & DirN
and see if the result is a full pathname that you expect.
Setting a breakpoint: Select the line of code and hit F9
Open the immediate window: Hit CTRL+g
Bookmarks