Hi p45cal
Thank you - works perfectly. I did have an illegal characters in the filename
Incidentally, if I wanted to save as a PDF File, instead of workbook what do I have t amend the format to
FileFormat:=xlOpenXMLWorkbook, CreateBackup:=False
Regards
Brian
|