Dummy Excel
Well-known Member
- Joined
- Sep 21, 2005
- Messages
- 1,004
- Office Version
- 2019
- 2010
- 2007
- Platform
- Windows
Hi All,
I am looking to create my own macro from an external report that I receive.
The external report is write protected so the first step that im getting the macro to do is copy the cells into a new workbook.
my code is:
i get an error message saying that the workboook is write protected, unprotect first. Is there a way around this? i mean all i want to do is copy and paste!
thanks
Sam
I am looking to create my own macro from an external report that I receive.
The external report is write protected so the first step that im getting the macro to do is copy the cells into a new workbook.
my code is:
Code:
Range("A1").CurrentRegion.Copy
Selection.Copy
Workbooks.Add
ActiveSheet.Paste
thanks
Sam