Excel User Group
Microsoft Excel blogs, forums, files. Read, ask questions, provide answers.
Sign in
|
Join
|
Help
Home
Blogs
Media
Forums
All Tags
»
Property
(RSS)
Browse Site by Tags
Showing related tags and posts accross the entire site.
Class module
Class variable default value
Hi How am I able to assign a default value to a variable in a class module in VBA? For example in VB.NET I can use this declaration: Private i as integer = 5 to set the variable's default value to 5. I want each new instance of the class to have the property Class1.i = 5 thank you!
Posted to
VBA
(Forum)
by
lecxe
on Wed, Apr 16 2008
Page 1 of 1 (1 items)
Copyright Excel User Group and the relevant contributors, 2008. All Trade Marks acknowledged. This site is a peer-to-peer site and NOT affiliated in any way to Microsoft Corp. All rights reserved.