Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have an .ocx file named MyProject. It contains a class named MyClass which
contains two VBA functions. MyProject is referenced in Tools-References. Where do I put this line of code: Public oMyClass As New MyProject.MyClass so the following occurs: Anywhere in your Code you should now be able (supported by intellisense), to type oMyClass. .... and as soon as you type that, your list of functions inside MyClass should pop up and be usable inside VBA. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Public is not Public | Excel Programming | |||
Use of PUBLIC | Excel Programming | |||
Dim vs. Public | Excel Programming | |||
public sub | Excel Programming | |||
Public Sub Help | Excel Programming |