top of page
Blog posts
Search
MsgBox with custom button texts
This post provides code that you can use to customise the text in message box buttons. You can show the message box with 1, 2 or 3 buttons and get the text of the clicked button back.
Jun 193 min read
Â
Â


MsgBox with a timeout
Showing a MsgBox dialog to a user is great to inform them of stuff or get input. But it can be a problem if the user isn't paying attention to your application and doesn't notice the dialog. But a dialog with a timeout ... using the Windows API function "MessageBoxTimeout" ... won't wait indefinitely ... it'll wait as long as you want it to wait.
Jun 114 min read
Â
Â


Get the application window handle in any app (well ... in Excel, Word, Access, PowerPoint or Outlook)
I wanted to have a simple piece of code that I could drop into any host application in which I am developing VBA code that would get me the application window handle ...
Jun 102 min read
Â
Â


Copy VBA code in colour
VBE_Extras will now let you copy code direct from the VBE 'in colour' and using a specific font name and size. How does it do this? Actually, what it does is copy the code as HTML (with some CSS for styling).
Jun 62 min read
Â
Â


Expand / contract the selected VBA code
Quickly expand the selection ... a word, a line, a 'block', a procedure ... and contract back to where you started
Apr 293 min read
Â
Â


Restore points for VBA code
Restore your VBA code to an earlier point in time with 'restore points' functionality provided by VBE_Extras.
Apr 153 min read
Â
Â


String interpolation
Interpolation means 'inserting one thing into another'. In this case, inserting one (or more) 'sub' Strings into another 'main' String.
Apr 73 min read
Â
Â


Sometimes it's just the little things - #12: The VBE_Extras Toolbar
You can now modify the VBE_Extras Toolbar so that you can directly access the commands most important to you.
Mar 282 min read
Â
Â


Sometimes it's just the little things - #11: Qualifying references
Automatically adding omitted Project, Module and Enum names to code references.
Mar 272 min read
Â
Â


Sometimes it's just the little things - #10: Better Bookmarks in VBA
I was asked if VBE_Extras has specific Bookmarks functionality. It doesn't. However, you can use Tasks to act as Bookmarks.
Mar 262 min read
Â
Â


Articles: Blog2
bottom of page