Afternoon All,
I have a VBA macro that copies a template sheet. Every now and then I get an error … “copy method of worksheet failed”. The actual code is …
Sheets("$TEMPLATE.fac").Copy after:=Sheets(lsPrevSheetName)
where lsPrevSheetName is a valid value.
sometimes it works, sometimes is stops working half way through. I usually have to exit excel and restart it but sometimes I need to reboot.
Any takers on what is going wrong?