Use the VBA UBound function to loop through all the elements in an array. The VBA UBound function returns the size of an array dimension.
This guide will teach you everything you want to know about using the Excel Form Control ListBox with VBA, including adding an item and selecting an item.
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
This tutorial shows you how the offset VBA property is used to navigate Excel. In VBA, offset allows you to access cells relative to your target cell.
This Excel VBA Function will compare two cells and return whether or not the cells are identical. Use it to compare data from two different sources.
This simple and powerful Excel linear interpolation user defined function was developed using VBA and does not require your data tables be sorted.
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.
Give your spreadsheet the grand entrance it deserves by designing and launching an awesome animated splash screen when your workbook is opened.
VBA InStrRev searches for a substring inside a string or cell, starting from right to left. InStrRev is great for extracting URLs or folder paths from text.
This guide will teach you everything you want to know about using the Excel Form Control Option Button with VBA. Option buttons are also called radio buttons.
These macro examples will show you how to copy every Nth cell in a range to a different sheet by using the Step keyword and a counter inside a VBA For Loop.
Use the VBA InStr function to test if a string or cell contains a certain substring. If it does, InStr will return the position where the substring begins.
subscribe via RSS
Grab a copy of our VBA Developer's Kit and start writing better macros in half the time.