![]() |
Leading the way in Microsoft Office Development |
| Home | | | Excel | | | Word | | | PowerPoint | | | VBA | | | SharePoint | | | Consultancy | | | Newsletter | | | Contact |
| VBA > Class Modules > Properties - Get | < Previous | Next > |
Property Get |
used to retrieve a property of a class. |
Department | ||
This is exactly the same as just using a private variable. |
|
The following line gets the department by calling the property Get procedure |
|
Hours Per Week |
|
Read Only Properties |
Normal Hours | ||
This property only has a Property Get (no Property Let) which means that it is read-only. |
|
Overtime Hours | ||
This property only has a Property Get (no Property Let) which means that it is read-only. |
|
| Copyright © 2011 Better Solutions Limited. All Rights Reserved. | < Previous | Top | Next > |