This VBA tutorial shows you how to convert a data type from a string to an integer with the VBA Type Conversion function CInt. Robust error checks included!
VBA ColorIndex lets you reference 56 pre-defined colors and even customize the default colors using VBA. There are also 8 named color constants.
We've combined each of our comprehensive wellsrPRO VBA training reference guides into a single bundle with over 180 tips and macros covering the 100 most important topics in VBA.
Tell me more
Use the VBA StrConv function to convert strings to upper, lower or proper case. The powerful StrConv function even has built in support for converting to Unicode.
Use VBA to copy to your clipboard, paste from your clipboard and clear the contents of your clipboard. This tutorial even shows how to copy to your clipboard using VBA in Windows 8 and Windows 10.
Mouse To Macro is an Excel Add-in that records your mouse clicks and cursor movements and converts the actions to a VBA macro for instant playback.
Use Excel to record your mouse clicks and cursor movements and convert them directly into VBA macros so you can easily automate complex tasks, like copying data from a website.
Return your cursor position coordinates with this VBA macro. Play around and use this to map out macro mouse movements using user32.dll.
Have you ever wanted to run an Excel Macro without actually opening Excel? Follow this tutorial to learn how you can make that happen with VBScript.
Here are 3 simple ways to call a Private Sub from another Excel Module without your macro showing up in the Macros Dialog Box (Alt+F8).
In this week’s edition of Q&A, learn how to move files on your computer, use AverageIf with filters and prevent users from closing their workbook with unprotected sheets.
Control your mouse with a VBA macro. The user32 library allows you to right-click, left-click and change your cursor position.
subscribe via RSS
Grab a copy of our VBA Developer's Kit and start writing better macros in half the time.