diddi
Well-known Member
- Joined
- May 20, 2004
- Messages
- 3,337
- Office Version
- 2010
- Platform
- Windows
Greets all
i am having a bit of a mental block and can't seem to get this declaration syntax right. i want to declare a worksheets variable globally
eg
Public Constant data as workbooks = Sheets("MyDataPage")
so that in code i can use
data.cells(1,2) etc
TIA
i am having a bit of a mental block and can't seem to get this declaration syntax right. i want to declare a worksheets variable globally
eg
Public Constant data as workbooks = Sheets("MyDataPage")
so that in code i can use
data.cells(1,2) etc
TIA