Ksiezniczka
New Member
- Joined
- Aug 15, 2011
- Messages
- 1
Hi,
I have macro saved as txt file (coded in VBA) which I need to insert in Excel 2007.
How do I do it?
For some reason getting below once I pasted code into "Module 1" (under Modules in VBA)
Compile error: Constants, fixed-length strings, arrays, user-defined types and Declare statements not allowed as Public members of object modules
Many thanks for your hep!
PS. I'm super new to macros/VBA
I have macro saved as txt file (coded in VBA) which I need to insert in Excel 2007.
How do I do it?
For some reason getting below once I pasted code into "Module 1" (under Modules in VBA)
Compile error: Constants, fixed-length strings, arrays, user-defined types and Declare statements not allowed as Public members of object modules
Many thanks for your hep!
PS. I'm super new to macros/VBA