Hi Holger,
Um, all seems to work fine on a sample sheet, but when applied to my main sheet (which I can't upload due to sensitivity of data), I get a Runtime Error 1004, as follows:
The file could not be accessed. Try one of the following:
Make sure the specified folder exists
Make sure the folder that contains the file is not read-only
Make sure the file name does nor contain any of the following characters: <> ? [] : or *
Make sure the file/path name doesn't contain more than 218 characters
All the conditions are met, so I am totally baffled as to what is causing the error?
The error appears to be in these lines of code
Am I missing something, any thoughts?
Many thanks
Bookmarks