Hello,
I have a little code as part of a macro that once it arrives starts to delete the names in the workbook one by one.
This worked a treat for some time, but seems that something has changed and when running returns a runt time error 1004.
For some reason the code seems to skip setting the nm at line 1, then gets to line 4 and returns the error. If i skip this line and continue onto line 5 the nm is set and then the loop continues without a problem.
Any body out there that might know where i am going wrong here?
Thanks in advance!
Bookmarks