Private m_iD As String Private m_visShape As Visio.Shape Your private variable might have some sort of prefix to distinguish it from the public variables, and an initial lower-case letter: When you create a class, you often times declare a private variable, then expose it with public properties. There’s a comfort in knowing that the consultant’s work isn’t buried in some. At very worst, they can sick a summer intern on it. I do a lot of automation work with Visio, and customers like that they can get in and tweak the code without having to do a re-compile. So I’ve created this utility code to ease my sorrow, and hopefully help you out too!Ī lot of customers still like to get smaller solutions built in VBA. So once you get used to modern technology, going back to VBA or VB6 can be rather painful. Visual Studio has gotten smarter: it assists you with a lot of mundane typing tasks. NET, Visual Basic’s syntax has gotten more efficient which makes the job easier. Today I’d like to share a little VBA code module that I like to use to generate VBA class properties. Don’t you hate typing Property Get and Property Let and Property Set into your VBA class modules over and over and over and over?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |