Dynamic User File Selection Using Excel VBA GetOpenFilename Method This post will demonstrate how we can allow a user to select a file using a traditional “open file”-type dialog box. This has tremendous advantages over hard-coded solutions where the filename and its
Sum Cells by Color In this VBA tutorial we will look at a way to sum cells based on their background color. Unfortunately, Excel does not possess a function that will provide this functionality. So how will we get this to work?
Excel List Box to Display & Print Multiple Sheets as ONE Print Job with VBA This post will show you how to create an Excel macro that will allow you to print specific worksheets by selecting them form an automatically generated list.
3 Methods to Unhide All Sheets in Excel (& how to hide) How can you unhide all Excel sheets at once? Hiding many worksheets at once is easy in Excel. Click on a sheet, hold down the control or the shift key,
How to use the Message Box in Excel VBA (syntax you'll need for MsgBox) In this tutorial you'll quickly learn the correct syntax to create a VBA message box (also referred to as a pop-up dialogue box) in Excel. I first show
Data Types, DIM & SET (Learn to use them correctly) “Data types for variables. Why are they important? Why do we need them?” These are very good questions. To be honest, you can write perfectly acceptable programs and procedures without using data
Excel VBA: Loop through cells inside the used range (For Each Collection Loop) In this video we count the number of cells that contain formulas on our worksheet. We do this with Excel VBA with the help of the For Each Collection
Reset Dependent Drop-down in Excel (with a tiny bit of VBA) Learn how to reset a dependent drop-down list in Excel with a little bit of VBA. The problem we get with dependent data validation lists is that when you change the value
Excel VBA: Check If File or Folder Exists (DIR) Open File or Create Folder The DIR VBA function plays an important role if you need to refer to other files or folders in your macro. DIR returns a string that represents a directory
How can you make navigation easier for your larger workbooks? You could create an ActiveX combo-box that automatically adds the sheet names to the drop-down. Once the user selects a sheet, they jump to the respective sheet. If the user deletes a sheet, renames