This tutorial describes the difference between the VBA ClearContents and the VBA Clear Methods and explains how to use them to clear cells in your own macros.
You should declare constants in VBA when you need a value defined and you know the value won't change. You declare constants using VBA Const and Public Const.
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
Check if optional parameters have been passed using the VBA IsMissing function and learn how to create your own flexible optional parameter checking functions.
This tutorial will help you understand the difference between passing variables with ByRef and ByVal in VBA (plus a little on variable scope and RAM).
This custom VBA function improves upon Excel's built-in CELL and INFO functions by returning information not available in the CELL and INFO functions.
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.
See how to make VBA HTTP POST requests initiate server-side actions on APIs. You can also use HTTP POST requests to interact with Google Forms using VBA.
This VBA function will return the screen size and other display metrics for the screen containing Excel's ActiveWindow. It even supports multi-monitor configurations.
As you create new VBA macros and procedures, the MsgBox function is frequently used to communicate, but sometimes the standard MsgBox buttons are inadequate.
Learn how to make API HTTP GET requests in VBA using MSXML2.ServerXMLHTTP60. HTTP GET requests allow more efficient data collection and processing with VBA.
The VBA Beep statement is limited for audible signaling, but Windows' PlaySound function can be used to play standard system sounds or any WAV file using VBA.
subscribe via RSS
Join our free 90-day VBA Training Program and start building your reputation as an office innovator.