Archive

Excel VBA Range Format Cells: Step-by-Step Guide
Learn to format Excel cells with VBA Range properties: numbers, fonts, colours, borders and alignment. Step-by-step with fixes for common errors.
Excel VBA Record Macro: Step-by-Step Guide
Record a macro in Excel step by step: enable the Developer tab, save as .xlsm, record, test, and fix common errors. Start automating today.
Excel VBA Refresh Power Query: Step-by-Step Guide
Learn how to refresh Power Query using Excel VBA with this guide. Master RefreshAll and specific query updates to automate your data workflows.
Excel VBA: Refresh a Power Query Table
Refresh a Power Query table from Excel VBA with the right connection name and a wait loop. Step-by-step code, fixes and common errors.
Excel VBA: Refresh a Specific Power Query
Refresh a single Power Query from Excel VBA with the right method, including how to make the macro wait for the refresh to finish.
Excel VBA: Rename a File Step by Step
Rename files from Excel VBA with the Name statement, plus path checks, error handling and fixes for permission and file-exists errors.
Excel VBA Rename Module: Step-by-Step Guide
Rename a VBA module in Excel the right way: use the Properties window, avoid broken references, and fix the errors that stop the name from sticking.
Excel VBA Resize Named Range: Step-by-Step Guide
Resize a named range in Excel VBA by reassigning RefersTo. Step-by-step code, dynamic addresses, common errors and fixes.
Excel VBA Resize Row Height: Step-by-Step Guide
Step-by-step Excel VBA guide to resize row height: set fixed heights, AutoFit, loop rows, and fix common errors. Start coding now.
Excel VBA Resize Table: Step-by-Step Guide
Resize an Excel table with VBA using the ListObjects Resize property. Step-by-step code, dynamic ranges, common errors and fixes.
Excel VBA: Run Macro Every X Minutes
Schedule an Excel macro to run every X minutes with Application.OnTime, including start, stop and re-arm code that actually works.
Excel VBA: Run Macro When Cell Value Changes
Run a macro automatically when a cell changes in Excel using the Worksheet_Change event. Step-by-step setup, fixes for common errors, and tips.
Excel VBA: Save as Semicolon-Delimited CSV
Use Excel VBA to save a workbook as a semicolon-delimited CSV, with working code, fixes for commas inside fields, and troubleshooting tips.
Excel VBA: Save as CSV UTF-8 (Step-by-Step)
Use xlCSVUTF8 in Excel VBA to save a sheet as a UTF-8 CSV. Step-by-step code, common mistakes and fixes for older Excel versions.
Excel VBA Save As Dialog With Filename
Use Application.GetSaveAsFilename in Excel VBA to show a Save As dialog with a suggested filename, then save the workbook to the path the user picks.
Excel VBA Save As Read Only: Step-by-Step Guide
Save an Excel workbook as read-only with VBA using the SaveAs method. Step-by-step code, common mistakes, and fixes for when the prompt does not appear.
Excel VBA: Save and Overwrite Without Prompt
Stop the Excel overwrite prompt in VBA with two safe methods, plus fixes for sharing errors and read-only files. Clear steps you can paste and run.
Excel VBA: Save a Sheet as a Text File
Save any Excel sheet as a text file with VBA using SaveAs or line-by-line writing. Clear steps, common errors, and fixes for missing files.
Excel VBA Set Border on Cell: Step-by-Step Guide
Set borders on Excel cells with VBA using Borders, LineStyle, and edge constants. Step-by-step code, fixes for common errors, and tips.
Excel VBA Set Cell Format to Date: A Complete Guide
Learn how to use Excel VBA to format cells as dates. Master NumberFormat properties with practical code examples to automate your spreadsheets.