Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBScript to VBA question.

Status
Not open for further replies.

oppcos

Programmer
Dec 1, 2004
209
US
Hi,
I wrote a class for use with Outlook Forms that does a variety of behind the scene things and I've been asked to provide the class for an Excel document. Unfortunately, appartently Outlook uses VBScript and Excel uses VBA and from what I understand there is no such thing as a 'Class' in VBA.

Does anyone know of any alternatives or have suggestions for converting a VBScript Class into a nice oop package for VBA macros to take advantage of?

Thanks
 
In VBA you may create a Class module.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Sorry to sound so ignorant but can you explain that a bit more or give a link? I haven't had success just doing something like this:
Class MyClass
Private Property

Public Function(param)
...'
End Function
End Class
 
menu Insert -> Class module

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top