Hi again,
I'm nearly there
works fine apart from saving with the updated fname.
The open file changes name on the title bar of the excel window, but doesn't save. In place of spaces between the words, it has %20 instead.
Takes it's time to do it, excel crashed but recovered.
I've used this line of code exactly as is before, so I'm stumped. (Different values for the variables, different project file so it's not a variable clash)
Similarly, I'm almost certain the ChDir is redundant, but it didn't want to work without it so...
Lastly, the If Err doesn't do anything, doesn't give an error message, but the folder isn't created.
Folder creation was working without the iferror, but if the folder's already in place and the code is just mkdir, then I get an error...
Bookmarks