Skip to content
- VBA Sort Oldest to Newest: Dates and MacrosTo sort dates from oldest to newest with VBA, sort the full data range by its date column in ascending order: set…VBA & macros
- Excel Workbook Is Slow? Common Causes and Practical FixesAn Excel workbook is often slow because it contains too many calculations, oversized ranges, excessive formatting, or data connections that take time…How-to basics
- VBA Sort Key1: How to Sort a Range by One Column in ExcelIn Excel VBA, Key1 is the first column or row Excel uses to decide the sort order when you call the Range.Sort…VBA & macros
- Excel Workbook Is Read Only? Causes, Fixes, and OptionsAn Excel workbook is read-only when Excel lets you view it but prevents you from saving changes to the original file. The…How-to basics
- VBA Sort Key: How Key1 and SortFields WorkIn VBA, a sort key is the cell or range that tells Excel which column’s values to use when ordering rows. In…VBA & macros
- Excel Workbook Protection: What Is Locked and How to Fix ItIf an Excel workbook is protected, Excel is restricting an action because a worksheet, the workbook structure, or the file itself has…Errors & fixes
- VBA Sort in Two Columns: Code, Steps, and Key OptionsYes. In Excel VBA, sort the complete data range and pass two keys to its Sort method: the first key sets the…VBA & macros
- Excel Workbook Locked for Editing by Me? How to Fix ItIf Excel says a workbook is locked for editing by you, first check whether it is still open in another Excel window,…Errors & fixes
- VBA Sort Header: Keep Column Headings in Place When SortingTo keep a header row out of the sorted data in Excel VBA, set the sort option to Header:=xlYes. For example, sort…VBA & macros
- Excel Workbook ID: What It Means and How to Find ItAn Excel workbook has no universal ID displayed in the Excel app. When someone asks for an “Excel workbook ID,” they usually…How-to basics
- VBA Sort: How to Sort Excel Data Safely with a VBA MacroVBA does not have a standalone Sort function for worksheet data; in Excel macros, sorting is usually done with the worksheet’s Sort…VBA & macros
- Excel Workbook Hidden? How to Unhide ItIf an Excel workbook window is hidden in Microsoft 365 for Windows, open Excel and choose View > Unhide, select the workbook,…How-to basics
- VBA Sort Dictionary Keys: Methods and ExamplesTo sort VBA dictionary keys, copy them into the array returned by Dictionary.Keys, sort that array, and loop through it. A Scripting.Dictionary…VBA & macros
- Excel Workbook Has Stale Values? How to Find and Fix ThemIf an Excel workbook shows stale values, first check Formulas > Calculation Options > Automatic, then press Ctrl+Alt+F9 on Windows to force…Errors & fixes
- VBA Sort Data: Methods, Examples, and Common FixesIn Excel VBA, sort data with the worksheet’s Sort object: define the range, add one or more sort keys, set whether the…VBA & macros
- Excel Workbook Greyed Out? Causes and FixesIf an Excel workbook is greyed out in the Open dialog, check the file-type filter first: choose File > Open > Browse,…How-to basics
- VBA Sort Data in Excel: How to Build a Reliable MacroYes. In Excel for Microsoft 365 on Windows, VBA can sort a range or table by one or more columns using Excel’s…VBA & macros
- Excel Workbook Gone? Find and Recover the Missing FileIf an Excel workbook seems gone, first check Excel’s Recent list, search your computer for its filename, and look in the Windows…Errors & fixes
- VBA Sort Column Ascending in ExcelTo sort a column in ascending order with VBA, use Excel’s Range.Sort method and set Order1:=xlAscending. For example, sort A2:A100 with Range("A2:A100").Sort…VBA & macros
- Excel Workbook Format: XLSX, XLS, and Other TypesAn Excel workbook is usually saved in the .xlsx format, the standard format for modern versions of Microsoft Excel. Choose a different…How-to basics
- VBA Sort a Column Alphabetically in Excel with MacrosIn Excel VBA, sort alphabetically by calling Range.Sort with the range to sort, a key cell in the column, Order1:=xlAscending, and the…VBA & macros
- Excel Workbook File Type: Formats and Extensions ExplainedThe standard file type for a modern Excel workbook is .xlsx, used by Microsoft Excel for Microsoft 365 on Windows when you…How-to basics
- VBA Sort Column: Code, Options, and Common FixesTo sort a column with VBA in Excel, define the sort key and apply a sort to the full data range: use…VBA & macros
- Excel Workbook Extension: XLSX, XLSM, and MoreThe standard extension for a modern Excel workbook is .xlsx. Use .xlsm when the workbook needs to keep VBA macros, or choose…How-to basics
- VBA Sort Collection: Methods and Practical ExamplesVBA’s Collection object has no built-in sort method. To sort a collection, copy its items into an array, sort that array, and…VBA & macros
- VBA Sort Cells in Excel: Code, Options, and Common FixesTo sort cells with VBA in Excel, sort the entire data range by a key column—not just one column if the rows…VBA & macros
- VBA Sort.Apply: How to Configure and Run Excel SortsSort.Apply is the VBA method that runs a sort after you have configured its range, sort keys, and options. In Excel for…VBA & macros
- Excel File Won’t Scroll? Causes and Fixes to Try FirstIf an Excel file will not scroll, first press Scroll Lock to turn it off, then check View > Freeze Panes >…Errors & fixes
- VBA SortFields.Add2: What It Does and How to Use ItSortFields.Add2 is an Excel VBA method that adds a sort key to a sort operation. It works much like SortFields.Add, but its…VBA & macros
- Excel File Won’t Save? Fix the Cause and Recover WorkIf an Excel file won’t save, first use File > Save As to try saving a copy to a local folder such…Errors & fixes