I have the following code:
Sheets(wsRenew).Select
Range("A1:ca10000").Select
Selection.Copy
Workbooks.Add.Activate
ChDir "\\ovpfs1.swissre.com\legacy\corp\hea\apps\STOP LOSS\Renewal Strategy"
ActiveWorkbook.SaveAs Filename:="\\ovpfs1.swissre.com\legacy\corp\hea\apps\STOP LOSS\Renewal Strategy\" & Producer & ".xlsx", FileFormat:=xlOpenXMLWorkbook, CreateBackup:=False
Sheets("Sheet1").Select
Range("a1").Select
Selection.Paste
and I have done variations on the paste part (the last line) but I am getting an error everytime. Object not supported or paste method error, etc....it does not like how I am trying to paste for some reason.
Any help would be greatly appreciated.
Thank you in advance
David
Sheets(wsRenew).Select
Range("A1:ca10000").Select
Selection.Copy
Workbooks.Add.Activate
ChDir "\\ovpfs1.swissre.com\legacy\corp\hea\apps\STOP LOSS\Renewal Strategy"
ActiveWorkbook.SaveAs Filename:="\\ovpfs1.swissre.com\legacy\corp\hea\apps\STOP LOSS\Renewal Strategy\" & Producer & ".xlsx", FileFormat:=xlOpenXMLWorkbook, CreateBackup:=False
Sheets("Sheet1").Select
Range("a1").Select
Selection.Paste
and I have done variations on the paste part (the last line) but I am getting an error everytime. Object not supported or paste method error, etc....it does not like how I am trying to paste for some reason.
Any help would be greatly appreciated.
Thank you in advance
David