valverde311
New Member
- Joined
- Apr 4, 2011
- Messages
- 4
Hi all,
I wrote a lengthy macro that copies a number of cells from one workbook to another and I reference the cells via the syntax below....
Since I'm constantly repeating the bold portion, I'm wondering if setting a variable = to the bold portion would speed things up.
Workbooks("Master File.xls").Sheets(1).Cells(71, 4).Value =
Both a) and b) were not working when I tried...
a) Dim Master as String
b) Dim Master as Worksheets
Set Master = Workbooks("Master File.xls").Sheets(1)
Can anyone help?
I wrote a lengthy macro that copies a number of cells from one workbook to another and I reference the cells via the syntax below....
Since I'm constantly repeating the bold portion, I'm wondering if setting a variable = to the bold portion would speed things up.
Workbooks("Master File.xls").Sheets(1).Cells(71, 4).Value =
Both a) and b) were not working when I tried...
a) Dim Master as String
b) Dim Master as Worksheets
Set Master = Workbooks("Master File.xls").Sheets(1)
Can anyone help?