top of page
The VBA Help blog
Search
Adding AI generated UserForms to your VBA Project (using .frxml files)
A frustration that I have with using AI to support me in writing VBA code is generating UserForms ... specifically the UI part of UserForms. Here's a solution using an AI skill, a .frxml file and VBE_Extras.
Jul 147 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
Â
Â


Multi-line input box
The standard VBA.InputBox (and Application.InputBox, available if working in Excel) only allow you to enter a single line of text. What to do if you want to allow a user to enter multiple lines of text? Use a UserForm with a multiline TextBox ...
Dec 4, 20253 min read
Â
Â


Drawing individual pixels with the Windows API
This post demonstrates how to use the SetPixel and GetPixel Windows API Functions to set (and get) the colour of individual pixels on the surface of a UserForm.
Sep 23, 20252 min read
Â
Â


Filter a ListBox using a TextBox
Show a UserForm with a ListBox which can be filtered by typing one or more characters into a TextBox.
Feb 24, 20253 min read
Â
Â


Version Control for VBA
Turn back the clock and revert to an earlier version of your code or just view changes that have been made since an earlier point in time.
Jun 20, 20247 min read
Â
Â


Multiple choice UserForm in VBA using a ComboBox
Multiple choice UserForm in VBA using a ComboBox - this UserForm allows a user to make a choice when there are more than just Yes/No or OK/C
Jul 28, 20233 min read
Â
Â


Dynamically adding controls to a UserForm and reacting to their events
Programmatically adding controls to a UserForm and reacting to their events
Mar 31, 20235 min read
Â
Â


Changing UserForm Button colour on mouse hover
Something that brings a UserForm to life is, when the mouse pointer hovers over a Button, there's an indication that the Button is clickable
Mar 8, 20233 min read
Â
Â


VBA and FaceIds
A FaceId, in VBA, is a small picture/icon added to a CommandBarButton which is an item in a menu. The main menus in all Office...
Aug 25, 20223 min read
Â
Â


Articles: Blog2
bottom of page