Export Charts Excel Name Box: Step-by-Step Guide
Why does exporting a chart from Excel feel harder than it should? You built something clean, your stakeholder needs it in a Word doc or a slide deck, and somehow you end up right-clicking in four wrong places before giving up and screenshotting your monitor. Half the Excel chart images floating around the internet look like they were captured with a potato. The Name Box, that small field sitting to the left of the formula bar, is the piece most tutorials skip entirely, and it's exactly what gives you precise control over which chart object you're targeting before you export a chart as an image.
This isn't a hack. It's a built-in Excel feature that's been there since Excel 2016, and once you understand how it connects to the export workflow, you won't touch a screenshot tool again.
|
| The Name Box reveals the chart object's name the moment you click it — that name is your handle for everything that follows. |
What You Can Export, and Why the Name Box Changes How You Target Charts in Excel
Every chart you create in Microsoft Excel is a named object, not just a picture floating on a sheet. Excel assigns it a name automatically, something like "Chart 3" or "Chart 7," the moment it's created. Most people never see that name because they never look. The Name Box, left of the Excel formula bar, shows you exactly which chart object is selected the instant you click it.
That name is your handle. It's how Excel knows what to act on when you right-click, and it's how VBA knows what to target when you need to export multiple charts without babysitting each one.
What the Name Box Actually Tells You About a Chart Object
Click anywhere on a chart (on the border of the chart area, not inside it) and look left. The Name Box will display the chart's identifier, like "Chart 3." That's Excel confirming which chart object is active. If you click a cell instead, the Name Box reverts to a cell address. The Name Box is essentially a live readout of what's selected, and for chart work, it's the only reliable way to confirm you have the right object before you do anything else. If you're newer to chart setup in Excel, the Excel for Beginners starter guide covers chart objects in broader context.
Step 1: Click the Chart and Confirm Its Name in the Excel Name Box Before You Do Anything Else
Once you have the Name Box concept, the first step is simple, but people skip it constantly, and it causes problems downstream.
- Click the outer border of your chart to select the chart object. Selection handles will appear around the chart area.
- Look at the Name Box. It should display something like "Chart 3." If it shows a cell address, you've clicked a cell instead of the chart. Try again.
- Confirm this is the chart you intend to export. On a dense worksheet, that confirmation matters.
How to Rename a Chart Object So You Always Know What You're Targeting
Here's where most tutorials stop. They tell you to click the chart and export it. Push one step further: rename it.
With the chart selected and its auto-assigned name showing in the Name Box, click directly into the Name Box, type a meaningful name ("Q1_Revenue_Chart," for example), and press Enter. That's it. Excel renames the chart object immediately. This pays off in two ways: you'll never confuse "Chart 3" with "Chart 7" on a busy dashboard, and if you ever use VBA to batch-export, that name becomes the string your code references. This is exactly the kind of small, built-in fix I started applying to my logistics dashboard after one too many misidentified chart exports ended up in the wrong report. Works in Excel 2016 and later, including Microsoft 365.
You can also type a chart's name directly into the Name Box and press Enter to jump straight to that chart object anywhere on the sheet, useful on worksheets where charts are stacked or overlapping.
Step 2: Export the Chart as an Image Using Save as Picture (and What to Do When It Disappears)
With the chart selected and confirmed in the Name Box, you're ready to export.
- Right-click the selected chart border.
- Choose Save as Picture from the context menu.
- Pick your format: PNG for clean backgrounds, JPEG if file size matters, SVG if you need scalable vector output. Then save.
On some Windows builds of Microsoft 365, Save as Picture vanishes from the right-click menu entirely. Not greyed out. Gone. This happens when you've accidentally double-clicked into the chart's plot area, putting Excel into chart-editing mode rather than object-selection mode. Press Escape once to back out to the object-level selection, and the option returns. If it's still missing, Microsoft's Excel support documentation tracks known version-specific bugs and the latest workaround guidance.
Step 3: Use the Chart Name from the Name Box to Target Specific Charts in a VBA Export
Save as Picture works perfectly for one chart at a time. If you're exporting five, ten, or fifty charts from a reporting workbook, that approach gets tedious fast. This is where the name you assigned in Step 1 earns its keep.
Here's a minimal VBA snippet that references a chart by its exact Name Box identifier:
ThisWorkbook.Sheets("Dashboard").ChartObjects("Q1_Revenue_Chart").Chart.Export "C:\Exports\Q1_Revenue_Chart.png", "PNG"
That one line exports a precisely targeted chart to a specific path, in a clean format, with a predictable filename. No guessing which "Chart 3" you meant. The chart name from the Name Box becomes the anchor.
For batch exports, wrap that in a loop through all ChartObjects on a sheet and you're done in seconds. That's the real payoff of intentional naming: intentional exporting. This Export method handles line charts, pie charts, and combo charts the same way. For a deeper look at how those chart types behave differently, the introduction to Excel charts and data visualization is worth reading before you build a batch export around a mixed-type dashboard.
More detail on related methods is available in Microsoft's VBA Chart.Export documentation.
Common Mistakes When Exporting Charts as Images in Excel, Including the Name Box Misstep Most Guides Skip
Three problems come up repeatedly, and two of them trace directly back to skipping the Name Box step.
Exporting the sheet instead of the chart happens when nothing is properly selected. If you go to File → Save As and pick an image format, you'll get the entire sheet rendered as an image, not the chart object. You must select the chart first. The Name Box confirms you did.
VBA failing with a runtime error on the ChartObjects line almost always means the chart name in your code doesn't match what's in the Name Box. "Chart 3" and "Chart3" are different strings. Rename your charts in the Name Box before writing the code, and this problem disappears.
Blurry output from Save as Picture is a size issue. If the chart is physically small on screen when you export, the saved image will be low resolution. Resize the chart larger on the sheet before exporting and the saved file will be sharper. The chart renders at its actual on-sheet size, not at some normalized resolution. Stretching the chart to a full column width before exporting is usually enough to fix it.
The workflow is straightforward: name the chart, confirm it in the Name Box, then export. If Excel already has the feature built in, you shouldn't need to build around it.
For more on building chart-driven dashboards that output cleanly, the Excel Charts and Data Visualization for Retail Inventory guide covers the full production context.
Frequently Asked Questions
How do I use the Name Box to select a chart in Excel?
Click the outer border of a chart to select it as a chart object. The Name Box, the field to the left of the Excel formula bar, will display the chart's name, like "Chart 3," confirming the object is selected. You can also type a chart's name directly into the Name Box and press Enter to jump directly to that chart object on the sheet.
Why does Save as Picture disappear in Excel 365 on Windows?
The most common cause is accidentally double-clicking into the chart's plot area, which puts Excel into chart-editing mode rather than selecting the chart object. Press Escape to back out to the object-level selection, then right-click again. Save as Picture should reappear. If the option is still missing, check Microsoft's support pages for version-specific build issues.
How do I rename a chart object in Excel for VBA export?
Click the chart border to select it as a chart object, then click directly into the Name Box and type your new name (something like "Q1_Revenue_Chart") and press Enter. Excel renames the object immediately. That exact name is what you reference in VBA's ChartObjects() call, so matching it precisely matters.
Join the conversation