Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I think you are getting confused with objects defined in a Class module It looks like this would sit you :- '------------------------------------------------------------------------- Type myData age As Integer wageEarner As Boolean End Type '----------------------------------- Sub testReference() Dim person As myData person.age = 10 person.wageEarner = True MsgBox (person.age & vbCr & person.wageEarner) End Sub '------------------------------------- ----------------------------------------------- ~~ Message posted from http://www.ExcelTip.com ~~View and post usenet messages directly from http://www.ExcelForum.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA - passing Variables to subroutines | Excel Discussion (Misc queries) | |||
Passing Variables | Excel Discussion (Misc queries) | |||
VBA passing variables through a function | Excel Discussion (Misc queries) | |||
Passing variables between a form and macro | New Users to Excel | |||
passing variables from excel to word | Excel Programming |