Microsoft Excel has a broad choice of dialogs available (file dialogs, color and formatting dialogs, etc.). In this post we see how to launch the color picker dialog in Excel using VBA macros. The dialog prompts the user to pick a color that can be used to format the font, interior, or borders of a cell or range later in the macro. The picked color is saved to memory and can be used at any time.
Showing posts with label Application. Show all posts
Showing posts with label Application. Show all posts
Tuesday, March 18, 2025
Sunday, October 18, 2020
Get Info Of Selected Files Excel VBA Macro
This macro example triggers a dialog box to select files in windows explorer and then shows file name, date created, and file size information for each of them in the active worksheet.
Crop Selection Window Excel VBA Macro
This macro example crops the Excel active window to fit the selected range. It does the trick with some useful properties of the Application and ActiveWindow VBA objects.
Friday, September 18, 2020
Simple Digital Clock Timer Excel VBA Macro
This macro runs a clock timer in Excel. The user can start/stop the time, and the clock shows minutes and seconds. It is a simple example to learn how to use the OnTime method of the Application object.
Saturday, August 29, 2020
List All Files In Folder Excel VBA Macro
The following macro example triggers a dialog box to select a
folder in windows explorer and then lists all files within that folder in the
active worksheet.




