Thread: class module?
View Single Post
  #12   Report Post  
Posted to microsoft.public.excel.programming
keepITcool keepITcool is offline
external usenet poster
 
Posts: 2,253
Default class module?


Henry wrote :

Call MyMsgSub ("Message","Title", Integer Variable)
The Integer Variable defines the appearance of the MsgBox.
If that's OOP, its easy.


that is NOT oop.

oop would be more like:

dim myBox as CBox

set myBox = new Cbox
mybox.setsize(10,20,30)
mybox.type = btPizza
mybox.material = bmPlyWood

msgbox mybox.Volume, myBox.Weight





--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam