'VBA' category
Subcategories
- Scroll bar (1)
- ARRAY function (1)
- Fix Function (1)
- INT function (1)
- JOIN function (1)
- Lbound Ubound function (1)
- SGN function (1)
- SPLIT function (1)
- Evaluate method (1)
- Range.Find method (1)
- TextToColumns method (1)
- DO LOOP statement (1)
- FOR NEXT statement (6)
- GoTo statement (1)
- IF THEN ELSE statement (6)
- SELECT CASE statement (1)
- SET statement (1)
- WITH … END WITH Statement (4)
How to copy every n-th row from a list
This article demonstrates a formula and a VBA macro that returns every n-th row from a given cell range. The […]
This article demonstrates a formula and a VBA macro that returns every n-th row from a given cell range. The […]
Extract text between words [UDF]
Blake asks: I have a somewhat related question, if you don't mind: I have very large amount of text in […]
Blake asks: I have a somewhat related question, if you don't mind: I have very large amount of text in […]
How to use the SET statement
The SET statement allows you to save an object reference to a variable, the image above demonstrates a macro that […]
The SET statement allows you to save an object reference to a variable, the image above demonstrates a macro that […]
How to use the EVALUATE method
The Evaluate method converts an Excel name to an object or value. The picture above demonstrates a macro that uses […]
The Evaluate method converts an Excel name to an object or value. The picture above demonstrates a macro that uses […]
How to use the GOTO statement [VBA]
The image above demonstrates the GoTo statement. It "jumps" or "navigates" to another place in the code, in this case, "Start". […]
The image above demonstrates the GoTo statement. It "jumps" or "navigates" to another place in the code, in this case, "Start". […]
How to use the ARRAY function [VBA]
The ARRAY function creates a Variant variable containing array values. Table of Contents Array Function VBA Syntax Array Function Arguments […]
The ARRAY function creates a Variant variable containing array values. Table of Contents Array Function VBA Syntax Array Function Arguments […]
How to use the LBOUND and UBOUND functions
The Lbound and Ubound functions calculate the size of of an array. The Lbound returns the lower limit of an array and […]
The Lbound and Ubound functions calculate the size of of an array. The Lbound returns the lower limit of an array and […]
How to use the JOIN function [VBA]
The JOIN function concatenates a set of substrings in an array, the image shows a user-defined function entered in cell […]
The JOIN function concatenates a set of substrings in an array, the image shows a user-defined function entered in cell […]
How to use the RANGE.OFFSET property
The OFFSET property returns a Range object based on a row and column number. The image above shows a macro […]
The OFFSET property returns a Range object based on a row and column number. The image above shows a macro […]
How to use the SGN function [VBA]
The SGN function returns an integer that shows the sign of the number. Argument SGN returns Number greater than 0 (zero). […]
The SGN function returns an integer that shows the sign of the number. Argument SGN returns Number greater than 0 (zero). […]
How to use the FIX function [VBA]
The FIX function removes the decimals from the argument. Excel Function VBA Syntax Fix(number) Arguments number Required. Is a Double or […]
The FIX function removes the decimals from the argument. Excel Function VBA Syntax Fix(number) Arguments number Required. Is a Double or […]
How to use the INT function [VBA]
The INT function removes the decimals if the numeric value is above 0 (zero) and returns a negative integer less than […]
The INT function removes the decimals if the numeric value is above 0 (zero) and returns a negative integer less than […]
How to use the RANGE.FIND method
The Range.Find method returns a range object for the first cell that matches the lookup value. Macro used in workbook above The […]
The Range.Find method returns a range object for the first cell that matches the lookup value. Macro used in workbook above The […]
Copy data from workbooks in folder and subfolders
I will in this article demonstrate a macro that automatically opens all workbooks in a folder and subfolders, one by […]
I will in this article demonstrate a macro that automatically opens all workbooks in a folder and subfolders, one by […]
How to copy non contiguous cell ranges
If you try to copy multiple cell ranges on a worksheet that don't have the same number of rows or […]
If you try to copy multiple cell ranges on a worksheet that don't have the same number of rows or […]
Search for a file in folder and subfolders [UDF]
The image above demonstrates a user-defined function in cell range B6:D7 that allows you to search a folder and subfolders […]
The image above demonstrates a user-defined function in cell range B6:D7 that allows you to search a folder and subfolders […]
How to use the SPLIT function [VBA]
The picture above shows a user-defined function (UDF) that splits the string in cell C3 using a delimiting character ",". […]
The picture above shows a user-defined function (UDF) that splits the string in cell C3 using a delimiting character ",". […]
How to quickly select blank cells
In this smaller example, column D (Category) has empty cells, shown in the picture above. If your column contains thousands of […]
In this smaller example, column D (Category) has empty cells, shown in the picture above. If your column contains thousands of […]
How to add a macro to your Excel Quick Access Toolbar
The Quick Access Toolbar is located at the very top of your Excel window, I highly recommend that you place your […]
The Quick Access Toolbar is located at the very top of your Excel window, I highly recommend that you place your […]
How to use the WITH … END WITH statement
The With ... End With statement allows you to write shorter code by referring to an object only once instead […]
The With ... End With statement allows you to write shorter code by referring to an object only once instead […]
How to use the DO LOOP statement
The Do Loop statement allows you to repeat specific code until a condition is met. There are two possible ways […]
The Do Loop statement allows you to repeat specific code until a condition is met. There are two possible ways […]
How to use SELECT CASE statement
The SELECT CASE statement allows you to compare an expression to multiple values. It is similar to the IF THENÂ ELSE […]
The SELECT CASE statement allows you to compare an expression to multiple values. It is similar to the IF THENÂ ELSE […]
How to use the FOR NEXT statement
Table of Contents FOR NEXT statement FOR NEXT with a counter variable FOR each NEXT example FOR NEXT with counter […]
Table of Contents FOR NEXT statement FOR NEXT with a counter variable FOR each NEXT example FOR NEXT with counter […]
How to use the IF THEN ELSE ELSEIF END IF statement [VBA]
This article demonstrates how to use the If ... Then statement in Visual Basic for Applications (VBA). You can combine […]
This article demonstrates how to use the If ... Then statement in Visual Basic for Applications (VBA). You can combine […]
Opening a workbook runs a macro automatically
This article explains how to set up a workbook so a macro is run every time you open the workbook. […]
This article explains how to set up a workbook so a macro is run every time you open the workbook. […]
Count matching strings using regular expressions
This article demonstrates a User Defined Function (UDF) that counts how many times a string exists in a cell value […]
This article demonstrates a User Defined Function (UDF) that counts how many times a string exists in a cell value […]
Split search value using a delimiter and search for each substring
This article demonstrates formulas and a UDF that searches for values in a table based on concatenated values and returns […]
This article demonstrates formulas and a UDF that searches for values in a table based on concatenated values and returns […]
Fetching values from ThingSpeak programmatically
Picture above shows cheap chinese IoT modules: a temp sensor and an esp8266-01 (25 mm x 15 mm) Thingspeak […]
Picture above shows cheap chinese IoT modules: a temp sensor and an esp8266-01 (25 mm x 15 mm) Thingspeak […]
Extract cell references from a formula
This article demonstrates a User Defined Function that allows you to extract cell references from a formula in a given […]
This article demonstrates a User Defined Function that allows you to extract cell references from a formula in a given […]
How to use the LIKE OPERATOR
The LIKE operator allows you to match a string to a pattern using Excel VBA. The image above demonstrates a […]
The LIKE operator allows you to match a string to a pattern using Excel VBA. The image above demonstrates a […]
How to use DIALOG BOXES
A dialog box is an excellent alternative to a userform, they are built-in to VBA and can save you time […]
A dialog box is an excellent alternative to a userform, they are built-in to VBA and can save you time […]
Working with ARRAY VARIABLES (VBA)
This post will teach you how to work with Excel arrays in visual basic for applications (VBA). Why do you […]
This post will teach you how to work with Excel arrays in visual basic for applications (VBA). Why do you […]
Multiply numbers in each row by entire cell range
This article demonstrates a recursive LAMBDA function and a User Defined Function (UDF) that multiplies numbers in each row with […]
This article demonstrates a recursive LAMBDA function and a User Defined Function (UDF) that multiplies numbers in each row with […]
Resize a range of values (UDF)
The User Defined Function (UDF) demonstrated in this article, resizes a given range to columns or rows you specify. This […]
The User Defined Function (UDF) demonstrated in this article, resizes a given range to columns or rows you specify. This […]
A beginners guide to Excel array formulas
Array formulas allows you to do advanced calculations not possible with regular formulas.
Array formulas allows you to do advanced calculations not possible with regular formulas.
Find and replace strings in file names, folder name and subfolders
The following two macros FindReplace() and Recursive() let you rename files and folders recursively based on a search string. The […]
The following two macros FindReplace() and Recursive() let you rename files and folders recursively based on a search string. The […]
Unzip files in folder and subfolders
The VBA macro demonstrated in this article lets you unzip all zip files in a folder to a destination folder […]
The VBA macro demonstrated in this article lets you unzip all zip files in a folder to a destination folder […]
Working with LIST BOXES (Form Controls)
This blog post shows you how to manipulate List Boxes (form controls) manually and with VBA code. The list box […]
This blog post shows you how to manipulate List Boxes (form controls) manually and with VBA code. The list box […]
List all hyperlinks in worksheet programmatically
The macro in this blog post lists all hyperlinks in a worksheet. It also lists all words beginning with "http" […]
The macro in this blog post lists all hyperlinks in a worksheet. It also lists all words beginning with "http" […]
Filter duplicate files in a folder and subfolders
This is a follow up to my last post Compare file names in two different folder locations and their subfolders, the obvious […]
This is a follow up to my last post Compare file names in two different folder locations and their subfolders, the obvious […]
Compare file names in two different folder locations and their sub folders
Today I would like to share a macro that compares the content in two different folders and their subfolders. It […]
Today I would like to share a macro that compares the content in two different folders and their subfolders. It […]
How to save specific multiple worksheets to a pdf file programmatically
This article demonstrates macros that save worksheets to a single pdf file. What's on this webpage Export all worksheets in […]
This article demonstrates macros that save worksheets to a single pdf file. What's on this webpage Export all worksheets in […]
Find cells containing formulas with literal (hardcoded) values
This article describes different ways to locate literal or hardcoded values in formulas. The image above shows the result from […]
This article describes different ways to locate literal or hardcoded values in formulas. The image above shows the result from […]
How to enter array formulas in merged cells
Have you ever tried to enter an array formula in merged cells? Then you are familiar with this error message: […]
Have you ever tried to enter an array formula in merged cells? Then you are familiar with this error message: […]
Find the most/least consecutive repeated value [VBA]
This post Find the longest/smallest consecutive sequence of a value has a few really big array formulas. Today I would like to […]
This post Find the longest/smallest consecutive sequence of a value has a few really big array formulas. Today I would like to […]
How to use the TEXTTOCOLUMNS method
The TextToColumns method puts a cell that contains a string into substrings and distributes them horizontally using a delimiting character […]
The TextToColumns method puts a cell that contains a string into substrings and distributes them horizontally using a delimiting character […]
How to count the number of values separated by a delimiter
This article demonstrates formulas that count values in cell based on a delimiting character. The image above shows a formula […]
This article demonstrates formulas that count values in cell based on a delimiting character. The image above shows a formula […]
Search all workbooks in a folder and sub folders – VBA
This article demonstrates macros that allow you to search for a text string(s) in multiple worksheets and workbooks located in […]
This article demonstrates macros that allow you to search for a text string(s) in multiple worksheets and workbooks located in […]
How to create a list of comments from a worksheet programmatically
Did you know that you can select all cells containing comments in the current sheet? Press F5, press with left […]
Did you know that you can select all cells containing comments in the current sheet? Press F5, press with left […]
How to copy Excel tables programmatically
The image above demonstrates a macro linked to a button. Press with left mouse button on the button and the […]
The image above demonstrates a macro linked to a button. Press with left mouse button on the button and the […]
How to highlight row of the selected cell programmatically
Today I would like to share with you these small event handler procedures that make it easier for you to […]
Today I would like to share with you these small event handler procedures that make it easier for you to […]
Finding the shortest path – A * pathfinding
Two months ago I posted some interesting stuff I found:Â Shortest path. Let me explain, someone created a workbook that calculated […]
Two months ago I posted some interesting stuff I found:Â Shortest path. Let me explain, someone created a workbook that calculated […]
Move data to workbooks
This article demonstrates a VBA macro that saves user input to a given workbook and worksheet programmatically. Macros are great […]
This article demonstrates a VBA macro that saves user input to a given workbook and worksheet programmatically. Macros are great […]
Print screen the entire worksheet
This article demonstartes different techniques on how to take a screenshot of your worksheet. You can do that by simply […]
This article demonstartes different techniques on how to take a screenshot of your worksheet. You can do that by simply […]
Customize Excel maze
Terry wants to make a different sized maze and I think that is a great idea. Perhaps you remember that I […]
Terry wants to make a different sized maze and I think that is a great idea. Perhaps you remember that I […]
Multi-level To-Do list template
Today I will share a To-do list excel template with you. You can add text to the sheet and an […]
Today I will share a To-do list excel template with you. You can add text to the sheet and an […]
Search all workbooks in a folder
Today I'll show you how to search all Excel workbooks with file extensions xls, xlsx and xlsm in a given folder for a […]
Today I'll show you how to search all Excel workbooks with file extensions xls, xlsx and xlsm in a given folder for a […]
Customize the ribbon and how to add your macros
Save links to your favorite macros in a personal tab on the ribbon for easy access and become more productive. […]
Save links to your favorite macros in a personal tab on the ribbon for easy access and become more productive. […]
Remove print preview lines (Page Breaks)
Have you ever wondered how these lines got there on a worksheet? They show where pages will break, in other […]
Have you ever wondered how these lines got there on a worksheet? They show where pages will break, in other […]
Working with TEXT BOXES [Form Controls]
There are two different kinds of text boxes, Form controls and ActiveX Controls. Form controls can only be used on […]
There are two different kinds of text boxes, Form controls and ActiveX Controls. Form controls can only be used on […]
Show / hide a picture using a button
This article explains how to hide a specific image in Excel using a shape as a button. If the user […]
This article explains how to hide a specific image in Excel using a shape as a button. If the user […]
Hide specific worksheets programmatically
This article demonstrates techniques to hide and unhide worksheets programmatically. The image above shows the Excel window and the worksheet […]
This article demonstrates techniques to hide and unhide worksheets programmatically. The image above shows the Excel window and the worksheet […]
Click a cell to make a column hidden or visible – VBA
What's on this page Press with left mouse button on a specific cell to hide/show entire column Where to put […]
What's on this page Press with left mouse button on a specific cell to hide/show entire column Where to put […]
How to use the Scroll Bar
This article demonstrates how to insert and use a scroll bar (Form Control) in Excel. It allows the user to […]
This article demonstrates how to insert and use a scroll bar (Form Control) in Excel. It allows the user to […]
Count unique distinct values by cell color
This article demonstrates a User Defined Function (UDF) that counts unique distinct cell values based on a given cell color. […]
This article demonstrates a User Defined Function (UDF) that counts unique distinct cell values based on a given cell color. […]
Highlight date ranges overlapping selected record [VBA]
This article demonstrates event code combined with Conditional Formatting that highlights overlapping date ranges based on the selected date range. […]
This article demonstrates event code combined with Conditional Formatting that highlights overlapping date ranges based on the selected date range. […]
Which Excel files in folder are password protected?
This article explains how to check if Excel files in a given folder are password protected. The image above shows […]
This article explains how to check if Excel files in a given folder are password protected. The image above shows […]
Count text string in all formulas in a worksheet [VBA]
I will in this article demonstrate a macro that counts how many times a specific text string is found in […]
I will in this article demonstrate a macro that counts how many times a specific text string is found in […]
Locate a shape in a workbook
This article demonstrates how to locate a shape in Excel programmatically based on the value stored in the shape. The […]
This article demonstrates how to locate a shape in Excel programmatically based on the value stored in the shape. The […]
Working with FILES
In this blog article, I will demonstrate basic file copying techniques using VBA (Visual Basic for Applications). I will also […]
In this blog article, I will demonstrate basic file copying techniques using VBA (Visual Basic for Applications). I will also […]
How to change a picture in a worksheet dynamically [VBA]
Rahul asks: I want to know how to create a vlookup sheet, and when we enter a name in a […]
Rahul asks: I want to know how to create a vlookup sheet, and when we enter a name in a […]
Substitute multiple text strings
The SUBSTITUTE and REPLACE functions can only handle one string, this article demonstrates two ways to handle more than one […]
The SUBSTITUTE and REPLACE functions can only handle one string, this article demonstrates two ways to handle more than one […]
Move a shape [VBA]
This article demonstrates how to move a shape, a black arrow in this case, however, you can use whatever shape […]
This article demonstrates how to move a shape, a black arrow in this case, however, you can use whatever shape […]
Lookup multiple values in one cell
This article explains how to perform multiple lookups based on values in one cell with a delimiting character using a […]
This article explains how to perform multiple lookups based on values in one cell with a delimiting character using a […]
Run a Macro from a Drop Down list [VBA]
This article demonstrates how to run a VBA macro using a Drop Down list. The Drop Down list contains two […]
This article demonstrates how to run a VBA macro using a Drop Down list. The Drop Down list contains two […]
Hide specific columns programmatically
This article describes a macro that hides specific columns automatically based on values in two given cells. I am also […]
This article describes a macro that hides specific columns automatically based on values in two given cells. I am also […]
Copy worksheets in active workbook to new workbooks
This article demonstrates several VBA macros, they will save you time if you have lots of worksheets. The first macro […]
This article demonstrates several VBA macros, they will save you time if you have lots of worksheets. The first macro […]
Copy Excel Table filter criteria programmatically
I will in this article demonstrate a macro that copies criteria from one Excel Table and applies them to another […]
I will in this article demonstrate a macro that copies criteria from one Excel Table and applies them to another […]
Excel calendar [VBA]
This workbook contains two worksheets, one worksheet shows a calendar and the other worksheet is used to store events. The […]
This workbook contains two worksheets, one worksheet shows a calendar and the other worksheet is used to store events. The […]
Extract cell references populated with values [VBA]
This article demonstrates a macro that returns cell references for cell ranges populated with values on a worksheet. Jinesh asks: […]
This article demonstrates a macro that returns cell references for cell ranges populated with values on a worksheet. Jinesh asks: […]
Sort values in a cell based on a delimiting character
This article demonstrates a macro and a formula that allows you to sort delimited data in a cell or cell […]
This article demonstrates a macro and a formula that allows you to sort delimited data in a cell or cell […]
Create links to all sheets in a workbook programmatically
The macro demonstrated above creates hyperlinks to all worksheets in the current worksheet. You will then be able to quickly […]
The macro demonstrated above creates hyperlinks to all worksheets in the current worksheet. You will then be able to quickly […]
Create new worksheets programmatically based on values in a cell range [VBA]
This article demonstrates a macro that inserts new worksheets based on names in a cell range. The cell range may […]
This article demonstrates a macro that inserts new worksheets based on names in a cell range. The cell range may […]
List files in folder and create hyperlinks (VBA)
Table of Contents List files in a folder and create hyperlinks (VBA) How to navigate quickly in a complex workbook […]
Table of Contents List files in a folder and create hyperlinks (VBA) How to navigate quickly in a complex workbook […]
How to create an interactive Excel chart [VBA]
This article describes how to create an interactive chart, the user may press with left mouse button on a button […]
This article describes how to create an interactive chart, the user may press with left mouse button on a button […]
Sort values in an Excel table programmatically [VBA]
This article demonstrates how to sort a specific column in an Excel defined Table based on event code. The event […]
This article demonstrates how to sort a specific column in an Excel defined Table based on event code. The event […]
Prepare data for Pivot Table – How to split concatenated values?
This article demonstrates a macro that allows you to rearrange and distribute concatenated values across multiple rows in order to […]
This article demonstrates a macro that allows you to rearrange and distribute concatenated values across multiple rows in order to […]
Search two related tables [VBA]
This article demonstrates a macro that automatically applies a filter to an Excel defined Table based on the result from […]
This article demonstrates a macro that automatically applies a filter to an Excel defined Table based on the result from […]
Create comment if cell value is larger than column
It can sometimes be helpful having a large cell value in a comment. You can then easily hover over cell […]
It can sometimes be helpful having a large cell value in a comment. You can then easily hover over cell […]
Learn how to return values based on where you enter the UDF
In this vba tutorial I am going to show you how to return values from an udf, depending on where […]
In this vba tutorial I am going to show you how to return values from an udf, depending on where […]
Change chart series by clicking on data [VBA]
The image above shows a chart populated with data from an Excel defined Table. The worksheet contains event code that […]
The image above shows a chart populated with data from an Excel defined Table. The worksheet contains event code that […]
Excel template: Getting Things Done [VBA]
In this article, I am going to demonstrate a simple workbook where you can create or delete projects and add […]
In this article, I am going to demonstrate a simple workbook where you can create or delete projects and add […]
Normalize data [VBA]
To be able to use a Pivot Table the source data you have must be arranged in way that a […]
To be able to use a Pivot Table the source data you have must be arranged in way that a […]
Add values to worksheets based on a condition [VBA]
This tutorial shows you how to add a record to a particular worksheet based on a condition, the image above […]
This tutorial shows you how to add a record to a particular worksheet based on a condition, the image above […]
Add values to a two-dimensional table based on conditions [VBA]
This article demonstrates how to place values automatically to a table based on two conditions using a short macro. Cell […]
This article demonstrates how to place values automatically to a table based on two conditions using a short macro. Cell […]
Add or remove a value in a drop down list programmatically
This article demonstrates how to add or remove a value in a regular drop down list based on a list […]
This article demonstrates how to add or remove a value in a regular drop down list based on a list […]
Open Excel files in a folder [VBA]
This tutorial shows you how to list excel files in a specific folder and create adjacent checkboxes, using VBA. The […]
This tutorial shows you how to list excel files in a specific folder and create adjacent checkboxes, using VBA. The […]
Toggle a macro on/off using a button
This article demonstrates how the user can run a macro by press with left mouse button oning on a button, […]
This article demonstrates how the user can run a macro by press with left mouse button oning on a button, […]
Automate data entry [VBA]
This article demonstrates how to automatically enter data in cells if an adjacent cell is populated using VBA code. In […]
This article demonstrates how to automatically enter data in cells if an adjacent cell is populated using VBA code. In […]
Apply drop-down lists dynamically
This article demonstrates how to automatically create drop-down lists if adjacent data grows, there are two methods explained here. The […]
This article demonstrates how to automatically create drop-down lists if adjacent data grows, there are two methods explained here. The […]
How to log when a workbook is opened and closed [VBA]
This article demonstrates how to automatically create log entries when a workbook opens or closes using event code. Column A […]
This article demonstrates how to automatically create log entries when a workbook opens or closes using event code. Column A […]
Auto resize columns as you type
Excel does not resize columns as you type by default as the image above demonstrates. You can easily resize all […]
Excel does not resize columns as you type by default as the image above demonstrates. You can easily resize all […]
Copy a dynamic cell range [VBA]
In this blog post, I will demonstrate some VBA copying techniques that may be useful if you don't know the […]
In this blog post, I will demonstrate some VBA copying techniques that may be useful if you don't know the […]
List all open workbooks and corresponding sheets [VBA]
In this post, I am going to demonstrate how to automatically create a new sheet in the current workbook and […]
In this post, I am going to demonstrate how to automatically create a new sheet in the current workbook and […]
Basic data entry [VBA]
In this small tutorial, I am going to show you how to create basic data entry with a small amount […]
In this small tutorial, I am going to show you how to create basic data entry with a small amount […]
List Excel defined Tables in a workbook [VBA]
The following macro inserts a new sheet to your workbook and lists all Excel defined Tables and corresponding Table headers […]
The following macro inserts a new sheet to your workbook and lists all Excel defined Tables and corresponding Table headers […]
Working with COMBO BOXES [Form Controls]
This blog post demonstrates how to create, populate and change comboboxes (form control) programmatically. Form controls are not as flexible […]
This blog post demonstrates how to create, populate and change comboboxes (form control) programmatically. Form controls are not as flexible […]
Change chart data range using a Drop Down List [VBA]
In this article I will demonstrate how to quickly change chart data range utilizing a combobox (drop-down list). The above […]
In this article I will demonstrate how to quickly change chart data range utilizing a combobox (drop-down list). The above […]
Change PivotTable data source using a drop-down list
In this article, I am going to show you how to quickly change Pivot Table data source using a drop-down […]
In this article, I am going to show you how to quickly change Pivot Table data source using a drop-down […]
Filter an Excel defined Table based on selected cell [VBA]
In this post I am going to demonstrate how to quickly apply a filter to a table. I am using […]
In this post I am going to demonstrate how to quickly apply a filter to a table. I am using […]
Extract unique distinct values in a filtered list
This article demonstrates two formulas that extract distinct values from a filtered Excel Table, one formula for Excel 365 subscribers […]
This article demonstrates two formulas that extract distinct values from a filtered Excel Table, one formula for Excel 365 subscribers […]
Populate a combobox with values from a pivot table [VBA]
In this post I am going to demonstrate two things: How to populate a combobox based on column headers from […]
In this post I am going to demonstrate two things: How to populate a combobox based on column headers from […]
Copy selected rows (checkboxes) (2/2)
This article demonstrates a macro that copies selected rows based on enabled check boxes. The image above shows data on […]
This article demonstrates a macro that copies selected rows based on enabled check boxes. The image above shows data on […]
Add checkboxes to a sheet (1/2) [VBA]
In this post, I will demonstrate a macro that creates checkboxes in nonempty rows, see checkboxes in column E in image […]
In this post, I will demonstrate a macro that creates checkboxes in nonempty rows, see checkboxes in column E in image […]
Add values to a regular drop-down list programmatically
In this tutorial, I am going to show you how to add values to a drop down list programmatically in […]
In this tutorial, I am going to show you how to add values to a drop down list programmatically in […]
Filter an Excel defined Table programmatically [VBA]
In this tutorial, I am going to demonstrate how to filter an Excel define Table through a VBA macro. How it […]
In this tutorial, I am going to demonstrate how to filter an Excel define Table through a VBA macro. How it […]
Rearrange data
Sean asks: Sheet1A B C D 8 Country Europe 9 Lights 100 10 Type A 200 11 12 Country USA […]
Sean asks: Sheet1A B C D 8 Country Europe 9 Lights 100 10 Type A 200 11 12 Country USA […]
Populate a list box with unique distinct values from a filtered Excel table [VBA]
Excel defined Tables, introduced in Excel 2007, sort, filter and organize data any way you like. You can also format […]
Excel defined Tables, introduced in Excel 2007, sort, filter and organize data any way you like. You can also format […]
Populate a combo box (form control) [VBA]
In this tutorial I am going to explain how to: Create a combo box (form control) Filter unique values and […]
In this tutorial I am going to explain how to: Create a combo box (form control) Filter unique values and […]
Two-way lookup in multiple cross reference tables simultaneously
This article describes two ways to perform lookups in multiple in multiple cross reference tables simultaneously. The first one being […]
This article describes two ways to perform lookups in multiple in multiple cross reference tables simultaneously. The first one being […]
How to add a custom-made item to the shortcut menu [VBA]
This post describes how to add a new custom-built item to the shortcut menu in Excel, when you press with right […]
This post describes how to add a new custom-built item to the shortcut menu in Excel, when you press with right […]
SUMIF across multiple sheets
This post describes two ways to a search multiple ranges and calculate a total of the corresponding values across worksheets […]
This post describes two ways to a search multiple ranges and calculate a total of the corresponding values across worksheets […]
Select cell A1 on all sheets before you close a workbook [VBA]
This post demonstrates a macro that automatically selects cell A1 on each sheet right before you close a workbook. The […]
This post demonstrates a macro that automatically selects cell A1 on each sheet right before you close a workbook. The […]
List files in a folder and subfolders [UDF]
This article demonstrates a user defined function that lists files in a ggiven folder and subfolders. A user defined function is […]
This article demonstrates a user defined function that lists files in a ggiven folder and subfolders. A user defined function is […]
How to save custom functions and macros to an Add-In
Macros and custom functions are great, they can automate many tedious tasks. To have them available whenever you need them, […]
Macros and custom functions are great, they can automate many tedious tasks. To have them available whenever you need them, […]
Filter unique distinct values (case sensitive) [UDF]
The User Defined Function demonstrated in the above picture extracts unique distinct values also considering lower and upper case letters. […]
The User Defined Function demonstrated in the above picture extracts unique distinct values also considering lower and upper case letters. […]
Combine cell ranges ignore blank cells
The image above demonstrates a user defined function that merges up to 255 cell ranges and removes blanks. I will also […]
The image above demonstrates a user defined function that merges up to 255 cell ranges and removes blanks. I will also […]
Analyze word frequency in a cell range
This article demonstrates two ways to calculate the number of times each word appears in a given range of cells. […]
This article demonstrates two ways to calculate the number of times each word appears in a given range of cells. […]
Find positive and negative amounts that net to zero [UDF]
Question:I would like to reduce the number of open items by identifying positive and negative amounts that net to zero […]
Question:I would like to reduce the number of open items by identifying positive and negative amounts that net to zero […]
Find numbers in sum [UDF]
This article describes how to find a sum from a range of numbers using a user defined function. Let´s see […]
This article describes how to find a sum from a range of numbers using a user defined function. Let´s see […]
List permutations no repetition [UDF]
This blog post describes how to create permutations, repetition is NOT allowed. Permutations are items arranged in a given order meaning […]
This blog post describes how to create permutations, repetition is NOT allowed. Permutations are items arranged in a given order meaning […]
List permutations with repetition [UDF]
This blog post demonstrates a custom function (UDF) that creates permutations. Repetition is allowed. The custom function lets you specify the […]
This blog post demonstrates a custom function (UDF) that creates permutations. Repetition is allowed. The custom function lets you specify the […]
Use text qualifiers to make text to columns conversion easier [VBA]
This blog post describes how to insert qualifers to make "text to columns" conversion easier. Example I copied a table from […]
This blog post describes how to insert qualifers to make "text to columns" conversion easier. Example I copied a table from […]
Create a Print button [VBA]
This article describes how to create a button and place it on an Excel worksheet then assign a macro to […]
This article describes how to create a button and place it on an Excel worksheet then assign a macro to […]
Select and view invoice [VBA]
This post demonstrates how to view saved invoices based on the invoice number using a userform. The userform appears when the […]
This post demonstrates how to view saved invoices based on the invoice number using a userform. The userform appears when the […]
Populate listbox with unique distinct values [VBA]
This post demonstrates how to: Insert a button to your worksheet Assign a macro to the button Create a basic […]
This post demonstrates how to: Insert a button to your worksheet Assign a macro to the button Create a basic […]
Edit invoice data [VBA]
In a previos post:Excel vba: Save invoice data we added/copied data between sheets. This post describes how to overwrite existing […]
In a previos post:Excel vba: Save invoice data we added/copied data between sheets. This post describes how to overwrite existing […]
Save invoice data [VBA]
This article demonstrates a macro that copies values between sheets. I am using the invoice template workbook. This macro copies […]
This article demonstrates a macro that copies values between sheets. I am using the invoice template workbook. This macro copies […]
Filter not shared values out of two cell ranges [UDF]
This post describes a custom function (User defined Function) that extract values existing only in one out of two cell […]
This post describes a custom function (User defined Function) that extract values existing only in one out of two cell […]
Filter values in common between two cell ranges [UDF]
I tried the array formula in this post: Filter common values between two ranges using array formula in excel to […]
I tried the array formula in this post: Filter common values between two ranges using array formula in excel to […]
Filter duplicates in a large dataset [UDF]
This article demonstrates a user defined function that extracts duplicate values and also count duplicates. Example, the image below shows a list containing […]
This article demonstrates a user defined function that extracts duplicate values and also count duplicates. Example, the image below shows a list containing […]
Apply dependent combo box selections to a filter
Josh asks: now if i only knew how to apply these dependent dropdown selections to a filter, i'd be set. […]
Josh asks: now if i only knew how to apply these dependent dropdown selections to a filter, i'd be set. […]
Count unique distinct values in a large dataset [UDF]
This article describes how to count unique distinct values in list. What is a unique distinct list? Merge all duplicates to one […]
This article describes how to count unique distinct values in list. What is a unique distinct list? Merge all duplicates to one […]
Filter unique strings from a cell range
This blog post describes how to create a list of unique words from a cell range. Unique words are all […]
This blog post describes how to create a list of unique words from a cell range. Unique words are all […]
Filter unique distinct words from a cell range [UDF]
This blog post describes how to create a list of unique distinct words from a cell range. Unique distinct words […]
This blog post describes how to create a list of unique distinct words from a cell range. Unique distinct words […]
Filter duplicate words from a cell range [UDF]
AJ Serrano asks: I have a column where each rows contains different values and I wanted to obtain the duplicate […]
AJ Serrano asks: I have a column where each rows contains different values and I wanted to obtain the duplicate […]
Break up values in a cell range into separate cells based on a space character as a delimiter
This article demonstrates how to convert a range of cells containing strings separated by a delimiter into a range of […]
This article demonstrates how to convert a range of cells containing strings separated by a delimiter into a range of […]
Consolidate sheets [vba]
Question: I have multiple worksheets in a workbook. Each worksheets is project specific. Each worksheet contains almost identical format. The […]
Question: I have multiple worksheets in a workbook. Each worksheets is project specific. Each worksheet contains almost identical format. The […]
Rearrange values based on category [VBA]
In this post I am going to rearrange values from a list into unique columns. Before: After: The code Get […]
In this post I am going to rearrange values from a list into unique columns. Before: After: The code Get […]
Split data across multiple sheets [VBA]
In this post I am going to show how to create a new sheet for each airplane using vba. The […]
In this post I am going to show how to create a new sheet for each airplane using vba. The […]
Calendar with scheduling [vba]
Here is my contribution to all excel calendars out there. My calendar is created in Excel 2007 and uses both […]
Here is my contribution to all excel calendars out there. My calendar is created in Excel 2007 and uses both […]
Create a unique distinct list using Advanced Filter in a macro [VBA]
Question: hi all, thanks for the great formula/array formula. it works great. lately, i noticed that the array formula will […]
Question: hi all, thanks for the great formula/array formula. it works great. lately, i noticed that the array formula will […]
Identify missing numbers in a column
The image above shows an array formula in cell D6 that extracts missing numbers i cell range B3:B7, the lower […]
The image above shows an array formula in cell D6 that extracts missing numbers i cell range B3:B7, the lower […]
Split values equally into groups
Question: How do I divide values equally into groups (3 lists or less)? This post shows you two different approaches, […]
Question: How do I divide values equally into groups (3 lists or less)? This post shows you two different approaches, […]
Sum cells with check boxes
I will now demonstrate with the following table how to add check-boxes and sum enabled check-boxes using a formula. Add […]
I will now demonstrate with the following table how to add check-boxes and sum enabled check-boxes using a formula. Add […]
Print consecutive page numbers across multiple worksheets
This article describes how to print page numbers in consecutive order through specified worksheets and how to repeat column headers […]
This article describes how to print page numbers in consecutive order through specified worksheets and how to repeat column headers […]
Repeat headers on every page you print
If you want each page to have the same row(s) or column(s) to be repeated at every page you print. […]
If you want each page to have the same row(s) or column(s) to be repeated at every page you print. […]