Skip to content
- MS Access VBA Dictionary: Setup, Examples, and TipsYes. Microsoft Access VBA can use the Scripting.Dictionary object to store key-value pairs, look up a value by its key, and check…VBA & macros
- Make a Plot with a Dictionary in VBA: Excel GuideYes. In Excel for Microsoft 365 on Windows, use a VBA Scripting.Dictionary to group records by category, write the resulting category-and-total table…VBA & macros
- VBA Lowercase Strings: Using LCase and Common FixesTo convert text to lowercase in VBA, use the built-in LCase function: for example, lowerText = LCase(originalText). It returns a lowercase version…VBA & macros
- Loop Through a Named Range in VBA: Practical ExamplesTo loop through every cell in an Excel named range in VBA, assign the range to a Range variable and use For…VBA & macros
- Excel Graph: Hide Zero Values Without Hiding DataTo hide zero values in an Excel graph while keeping the underlying data, create a helper column that returns #N/A for zeros,…Charts & pivot tables
- Excel Graph Legend: How to Add, Format, and Fix ItAn Excel graph legend explains which data series—or, in some chart types, which categories—are represented by the chart’s colors, patterns, or markers.…Charts & pivot tables
- Excel Graphs: Ignore Zero Values Without Hiding DataYes. To keep zero values out of an Excel graph without changing your source data, make a helper range that returns #N/A…Charts & pivot tables
- Excel UserForm Images: Add, Size, and Fix Picture IssuesTo add an image to an Excel VBA UserForm, open the form in the Visual Basic Editor, place an Image control from…VBA & macros
- Excel UserForm Initialize: How It Works and How to Use ItIn Excel VBA, UserForm_Initialize is the event procedure that runs when a UserForm instance is loaded, before the form is displayed. Put…VBA & macros
- Excel UserForm Events: What Fires, When, and Why in VBAExcel UserForm events are VBA procedures that run in response to a form’s life cycle or to actions on the form and…VBA & macros
- VBA Join Function: Combine Strings with a DelimiterIn VBA, Join combines the items in a one-dimensional array into one string, placing a delimiter between each item. For example, Join(Array("red",…VBA & macros
- VBA InputBox Cancel: Detecting Cancel and Blank AnswersIn VBA, the standard InputBox function returns a zero-length string when the user clicks Cancel. It also returns a zero-length string if…VBA & macros
- VBA Dictionary Class Modules: A Practical How-ToTo use a class module with a VBA Dictionary, define a class to represent one record, create an instance of that class,…VBA & macros
- VBA Dictionary: Search by Key and Check Whether It ExistsTo search a VBA Dictionary by key, call its Exists method before retrieving the value: use If dict.Exists(searchKey) Then, then read dict.Item(searchKey)…VBA & macros
- Excel Graph Axis Range: How to Set Minimum and MaximumTo change an Excel graph’s axis range, select the chart axis, right-click it, choose Format Axis, and enter values under Axis Options…Charts & pivot tables
- Excel Graph Axis Labels: Add, Edit, and FormatIn Excel, axis labels are the category names or scale values shown beside a chart’s horizontal or vertical axis. To change category…Charts & pivot tables
- Excel Graph API: How It Works and What It Can DoThe Excel Graph API is the set of Microsoft Graph REST endpoints that lets an application read and change Excel workbooks stored…Charts & pivot tables
- Excel Charts and Graphs: How to Choose, Create, and FormatExcel charts and graphs turn worksheet data into visual summaries that make comparisons, patterns, and changes easier to understand. In Microsoft Excel…Charts & pivot tables
- How to Concatenate Strings in VBA Using & and JoinIn VBA, concatenate strings by joining them with the ampersand operator (&), such as fullName = firstName & " " & lastName.…VBA & macros
- Excel Chart Types: Uses, Examples, and How to ChooseExcel includes chart types for comparing categories, showing change over time, displaying parts of a whole, and exploring relationships between numbers. The…Charts & pivot tables
- Excel VBA UserForm Option Button GroupsIn an Excel VBA UserForm, put related OptionButton controls inside the same Frame to make them a mutually exclusive group: selecting one…VBA & macros
- Add Strings to a Dictionary in VBA: Step-by-StepTo add strings to a VBA Dictionary, create a Dictionary object and call its Add method with a unique key and the…VBA & macros
- Excel VBA UserForm Cancel Button: Setup and BehaviorTo make an Excel VBA UserForm button act as Cancel, set that CommandButton’s Cancel property to True, then put the closing or…VBA & macros
- How to Print a Range in VBA: Excel Setup and ExamplesTo print a specific Excel range with VBA, assign it to a Range variable and call its PrintOut method, such as ws.Range("A1:F25").PrintOut.…VBA & macros
- Add Controls to a VBA UserForm: Steps and CodeTo add controls to a VBA UserForm, open the form in the Visual Basic Editor and drag a control from the Toolbox…VBA & macros
- Excel UserForm: How to Create, Design, and Use FormsTo create an Excel UserForm in Microsoft 365 for Windows, press Alt+F11 to open the Visual Basic Editor, choose Insert > UserForm,…VBA & macros
- Excel UserForm: How Closely Can It Emulate a Worksheet?Yes, an Excel UserForm can imitate parts of a worksheet, especially a data-entry screen or a simple multi-column record browser, but it…VBA & macros
- Excel Macro Workbook: What It Is and How to Use OneAn Excel macro workbook is an Excel file that can store and run macros—sets of instructions that automate tasks, usually written in…VBA & macros
- Excel UserForm Date Picker: Options and SetupYes, you can add a date picker to an Excel UserForm, but Excel for Microsoft 365 on Windows does not include a…VBA & macros
- Excel Macro Wait 5 Seconds: VBA Code and Options ExplainedTo make an Excel VBA macro pause for about five seconds, call Application.Wait with a time five seconds in the future. In…VBA & macros