Morning All,
I'm fairly new to code and I keep getting errors every time I write some! :mad:
I have written this with help from Google etc.
When I run the macro it says 'document not saved, the document may be open, or an error may have been encountered when saving.'
and the debugger is...