R
Rob G
Hi,
I am learning about Class Modules and trying to implement them correctly, so
pardon my naviete on some of this stuff.
I've written code (in a regular module) in MS Access and that uses
Automation to enter data and format it on an Excel sheet. The code works
just fine now but as I an trying to consolidate and clean everything up I
thought I would put it all in a Class Module. So far it is working fine...
I am using an Excel Object in the Class Module, but I also need reference to
the same Object in the regualr module code. That too is working fine. The
problem is that I can no longer use the Excel Intellisense since I am not
directly using it as a object. Intellisense may, to some, be considered a
crutch, but I find it extremely useful for learning.
Is there a way to have a reference to an Excel object in my Class Module and
still use the Intellisense?
If not, how could I pass the same Excel Object back and forth from the Class
Module to the Module so I could be sure I am working with the same Object.
Is that with a Set Property?
Thanks for your help and advice.
-Rob
I am learning about Class Modules and trying to implement them correctly, so
pardon my naviete on some of this stuff.
I've written code (in a regular module) in MS Access and that uses
Automation to enter data and format it on an Excel sheet. The code works
just fine now but as I an trying to consolidate and clean everything up I
thought I would put it all in a Class Module. So far it is working fine...
I am using an Excel Object in the Class Module, but I also need reference to
the same Object in the regualr module code. That too is working fine. The
problem is that I can no longer use the Excel Intellisense since I am not
directly using it as a object. Intellisense may, to some, be considered a
crutch, but I find it extremely useful for learning.
Is there a way to have a reference to an Excel object in my Class Module and
still use the Intellisense?
If not, how could I pass the same Excel Object back and forth from the Class
Module to the Module so I could be sure I am working with the same Object.
Is that with a Set Property?
Thanks for your help and advice.
-Rob