I am trying to copy and paste from one workbook to another. It worked yesterday but for some reason it isnt working today. I have tried everything i know (which isn't much) but i still get a run-time error "object doesn't support this property or method."
The code is below and it is erroring out on Range("A1").active.
I have aslo tried:
Cells(1,1).active
Range("a1").select
Range("A1").paste
So if anyone can help me that would be awesome
The code is below and it is erroring out on Range("A1").active.
I have aslo tried:
Cells(1,1).active
Range("a1").select
Range("A1").paste
So if anyone can help me that would be awesome
Code:
pplication.AskToUpdateLinks = True
Sheets(8).Activate
Sheets(8).Range("AA100:AI115").Select
Selection.Copy
Windows("LPGS.xls").Activate
Sheets(2).Activate
Range("A1").Active
ActiveCell.Paste
Windows(FileName).Activate
Application.CutCopyMode = False
ActiveWindow.Close