Skip to content
- Unload UserForm VBA: Close Forms and Reset State SafelyIn VBA, use Unload UserForm1 to close and unload a form, or use Unload Me from code inside that form. Unloading removes…VBA & macros
- Excel VBA Project Missing? Causes, Checks, and RecoveryIf an Excel workbook was saved as .xlsx, its VBA project was removed because that file format cannot store VBA macros. If…VBA & macros
- VBA Sort Reference Is Not Valid: Causes and Fixes“The sort reference is not valid” is an Excel sorting error, not a VBA syntax rule. In a macro, it usually means…VBA & macros
- Excel Pivot Table Collapse All: Steps, Limits, and TipsTo collapse the detail in an Excel PivotTable, right-click an item in the row or column field you want to hide, then…Charts & pivot tables
- VBA For Loop Syntax: Examples and Common VariationsIn VBA, a For...Next loop repeats code for a counter that moves from a starting value to an ending value: write For…VBA & macros
- Excel Pivot Table: Clear Old Items and Cached ValuesTo clear old values from an Excel PivotTable, open PivotTable Options, choose the Data tab, set Number of items to retain per…Charts & pivot tables
- Excel Pivot Table by Week: Group Dates or Add a Week FieldYes. In Excel for Microsoft 365 on Windows, put a real date field in a PivotTable’s Rows area, right-click a date, choose…Charts & pivot tables
- Excel Pivot Table by Month: Group Dates the Right WayTo make an Excel PivotTable by month, put a genuine date field in the Rows area, put the measure you want to…Charts & pivot tables
- Set Workbook and Worksheet in VBA: How It WorksIn Excel VBA, use Set to assign a workbook or worksheet object to a variable, then refer to that variable in your…VBA & macros
- Excel Pivot Table Blank? Causes, Checks, and Fixes That WorkIf an Excel PivotTable is blank, first check its filters and source data, then refresh it and confirm that a field is…Charts & pivot tables
- Sending Emails With VBA: Excel and Outlook GuideYes—Excel VBA can create and send email through classic Outlook for Windows. In Excel, add a macro that creates an Outlook mail…VBA & macros
- Excel Pivot Tables: Analyze Data with Examples and InsightsYes—an Excel PivotTable analyzes a list by summarizing its values and letting you rearrange, filter, group, and compare them without changing the…Charts & pivot tables
- Reset UserForm VBA: Clear Controls and Restore DefaultsIn Excel VBA, reset a UserForm by setting its input controls back to blank or to chosen defaults. For a fresh form…VBA & macros
- Excel Pivot Table Add to Data Model: A Practical GuideTo add data to the Excel Data Model, select a cell in your source range, choose Insert > PivotTable, and select Add…Charts & pivot tables
- Refresh Worksheet VBA: Methods, Examples, and FixesTo recalculate formulas on one worksheet with VBA, call that worksheet’s Calculate method. To refresh imported data, use ThisWorkbook.RefreshAll—but that refreshes workbook…VBA & macros
- Excel Pivot Table Grand Total Column: Add or Fix ItTo add a grand total column in an Excel PivotTable, click anywhere inside it and choose PivotTable Design > Grand Totals >…Charts & pivot tables
- Excel School Dashboard: What It Shows and How to BuildAn Excel school dashboard is a visual summary of school data—such as attendance, grades, enrollment, or staffing—organized so that administrators and teachers…Charts & pivot tables
- Excel Dashboard Sample: A Practical Sales TemplateAn Excel dashboard sample is a one-page summary that turns a structured data table into a quick view of performance. A practical…Charts & pivot tables
- Interactive Excel Dashboard: How to Build OneYes. An interactive Excel dashboard is a worksheet that lets people explore key figures by changing filters or selections, rather than viewing…Charts & pivot tables
- Excel Graph Y-Axis Not Starting at Zero? How to Fix ItTo make an Excel graph’s vertical axis start at zero, right-click the value axis, choose Format Axis, and under Axis Options >…Charts & pivot tables
- Excel Graph Two Y-Axes: How to Add a Secondary AxisYes. In Excel for Microsoft 365 on Windows, select the chart, then go to Chart Design > Change Chart Type > Combo,…Charts & pivot tables
- Excel Graph: How to Switch the X and Y Axes in a ChartTo switch the X and Y values in an Excel chart, use an XY (Scatter) chart, then go to Chart Design >…Charts & pivot tables
- Excel Graph Secondary Axis: How to Add and Use OneTo add a secondary axis to an Excel graph, select the chart, choose Chart Design > Change Chart Type, select Combo, and…Charts & pivot tables
- Excel Graph Paper: Create a Grid in a WorksheetYes. You can make graph paper in Excel by setting worksheet columns and rows to small, consistent sizes, then printing the gridlines…Charts & pivot tables
- Excel Graph Not Updating? Fix Charts That Won’t RefreshIf an Excel graph is not updating when its data changes, first check that the chart points to the cells you edited…Charts & pivot tables
- Excel UserForm Toolbox: What It Is and How to Use ItThe Excel UserForm Toolbox is the panel in the Visual Basic Editor (VBE) that lets you add controls—such as text boxes, labels,…VBA & macros
- Excel UserForm TextBox: How to Wrap TextTo wrap text in an Excel UserForm TextBox, set its MultiLine property to True and its WordWrap property to True. In the…VBA & macros
- Excel UserForm TextBox Date Format: dd/mm/yyyyTo display a date as dd/mm/yyyy in an Excel VBA UserForm TextBox, validate the text and format it in the TextBox’s Exit…VBA & macros
- Excel UserForm: How to Show It with VBATo show an Excel UserForm, create the form in the Visual Basic Editor, then run a VBA procedure that calls its Show…VBA & macros
- Excel UserForm Scrollbar: Setup, VBA, and TroubleshootingTo add a scrollbar to an Excel UserForm, set the form’s ScrollBars property to vertical, horizontal, or both, then make ScrollHeight or…VBA & macros