top of page
The VBA Help blog
Search
Syncing a VBA Project with a file(s) ... manually
When using VBE_Extras, you can right-click on a Project name in the VBE's Project window and choose to load an entire Project's worth of Modules at once from a set of files ... or you can save all of the Modules in a Project at once.
6 hours ago2 min read
Â
Â


Make an HTTP(S) GET request and read the response using the Windows API
When getting information from the web (fetching a page, calling a REST endpoint, or reading a small text or JSON feed), the usual answer is MSXML2.XMLHTTP or WinHttp.WinHttpRequest, which means you are relying on the presence of the relevant library(s) on your (or an end-users) device. However, Windows already has an HTTP stack built in, WinINet, and a handful of its Functions will do a GET for you with no library required.
3 days ago4 min read
Â
Â


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.
5 days 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.
6 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
Â
Â


Code Explorer
VBE_Extras now has a Code Explorer dialog which allows you to explore the entire code base loaded into the VBE.
Jun 183 min read
Â
Â


VBE_Extras is now available in Microsoft Visio and Microsoft Project
VBE_Extras is now available to all users in the VBE when hosted by Microsoft Visio and Microsoft Project.
Jun 171 min read
Â
Â


Articles: Blog2
bottom of page