sweeneytime
Board Regular
- Joined
- Aug 23, 2010
- Messages
- 183
Hi,
I wish to set up a macro in a workbook - reports. This will copy info from another wb many times - results. The name of the reports wb will change. Therefore I wish to declare the wb name when I run the macro.
I have tried the following.
The workbook name is returned in D3.
&
Would someone be able to suggest a solution please?
Thanks,
Alan
I wish to set up a macro in a workbook - reports. This will copy info from another wb many times - results. The name of the reports wb will change. Therefore I wish to declare the wb name when I run the macro.
I have tried the following.
The workbook name is returned in D3.
HTML:
Dim Reports As Workbook
Reports = Sheets("Conserv").Range("D3").Value
&
HTML:
Reports = activeWorkbook.name
Would someone be able to suggest a solution please?
Thanks,
Alan