top of page
The VBA Help blog
Search
Custom events in VBA with WithEvents and RaiseEvent
Most VBA developers only ever consume events like Worksheet_Change. But you can declare and raise your own. This post builds a small worker Class that raises events and a listener that handles them ... without the Class knowing who's listening.
1 day ago3 min read
Â
Â


Beta testing of VBE_Extras in Autodesk Inventor and Autodesk AutoCAD
Looking for VBA developers who are willing to carry out some testing of VBE_Extras when the VBE is hosted in Autodesk Inventor and / or Autodesk AutoCAD.
2 days ago1 min read
Â
Â


Download, install and use mscomct2.ocx
mscomct2.ocx contains the Animation, Date and Time Picker (DTPicker), FlatScrollBar, MonthView and UpDown Controls. This post describes how to download and install mscomct2.ocx, and how to add the Controls to the Toolbox and a UserForm.
Jun 247 min read
Â
Â


Calling methods and properties by name in VBA with CallByName
Sometimes you don't know until run time which method to call ... the name's sitting in a cell, a file, a registry key or a button's Tag. VBA's CallByName turns that String into a call: getting or setting a property, or calling a method, by name.
Jun 233 min read
Â
Â


Get the current time zone, UTC offset and daylight saving state
VBA can tell you the current date and time, but not which time zone you're in, how far that is from UTC, or whether daylight saving is in effect right now. Windows knows all three, and a single call of the GetDynamicTimeZoneInformation Windows API function gets them for you.
Jun 223 min read
Â
Â


Over 2,500 Windows API Functions now available to be added directly to your VBA Project
VBE_Extras is now able to add 2,538 Windows API Functions (along with 601 Types, 99 Enums and 11,978 Consts) to your VBA code. In addition, VBE_Extras can add (or direct you to) example usages for 757 Windows API Functions.
Jun 192 min read
Â
Â


Articles: Blog2
bottom of page