In Excel for Microsoft 365 on Windows, press Alt, N, P, D in sequence to open the dialog for inserting a picture from your device. These are ribbon KeyTips, not keys to hold down together; if the letters differ in your version, press Alt and follow the letters shown on screen.
What the Excel picture shortcut does
The sequence uses Excel’s keyboard access keys to move through the ribbon: Alt activates KeyTips, N selects the Insert tab, P opens the Pictures choices, and D selects This Device. From the resulting file dialog, choose an image and select Insert. The picture is added to the worksheet as an object, usually positioned over the cells rather than stored as text inside a cell.
That distinction matters. A picture can cover several cells, move when rows or columns change, and be resized independently of the grid. It is not the same thing as a cell value, a chart, or a formula result. If your goal is simply to open the picture picker quickly, the shortcut gets you to the right starting point; you still need to select the file and decide how it should fit the sheet.
How to use the shortcut step by step
- Open the worksheet and, if useful, click near the area where you want the picture to appear. Selecting a cell does not make the image part of that cell, but it gives you a useful visual reference.
- Press and release Alt. Look for small KeyTip letters displayed over ribbon tabs and controls.
- Press N to open the Insert tab, then P to open the Pictures options. Press D for This Device.
- In the file dialog, browse to the image, select it, and choose Insert. The picture appears on the sheet.
- Drag the picture to position it, or use its corner handles to resize it. Press Esc to leave picture selection when you are finished.
Enter the letters one at a time; do not press Alt, N, P, and D simultaneously. In some Excel builds, languages, or customized ribbons, KeyTips can be different. The letters displayed after you press Alt are the guide for that installation. If a letter is not visible or the sequence does not open the expected control, follow the displayed KeyTips instead of assuming every version uses identical letters.
Using the Insert tab without a shortcut
You can reach the same feature with the mouse: choose Insert > Pictures > This Device in Excel for Microsoft 365 on Windows. Select the image in the file picker and choose Insert. The ribbon route is useful when you are learning the interface, when KeyTips have changed, or when you want to inspect the other available picture sources before choosing one.
The Pictures menu may offer more than a local file, depending on your Excel version and account. Options can include online or stock images. These choices have different sourcing and licensing considerations from an image saved on your computer. If you need to use a specific file provided by a colleague or stored in a project folder, choose This Device and verify the selected filename before inserting it.
Windows, Mac, and Excel for the web
The Alt, N, P, D sequence is for desktop Excel on Windows using the English ribbon. Excel for Mac has different keyboard conventions and does not use this Windows KeyTip sequence in the same way. On a Mac, use the ribbon or menu route, such as Insert > Pictures > Picture from File, with the exact wording depending on the current Mac version. Mac users can also use Excel’s Help search to locate the picture command; there is no need to guess a Windows shortcut.
Excel for the web runs in a browser and its keyboard handling can depend on the browser and operating system. Use the Insert tab and its picture command if the Windows sequence is intercepted or does not work. Some browser-based commands use an Alt-based access-key method, but those key combinations are not a dependable replacement for the Windows desktop sequence across browsers. Also, available image sources and editing controls can differ between the web app and desktop Excel.
Picture placement and cell behavior
A regular inserted picture floats above the worksheet grid. You can move it independently, and it may overlap data or hide cell contents. Clicking a cell beneath the image does not necessarily select that cell; click an uncovered area or use the Selection Pane if selecting an overlapping object is difficult. A picture’s position and size are separate from the values in the cells behind it.
For an image that should track a particular row or column, open the picture’s formatting options and look for the setting that controls how the object behaves with cells. Depending on the Excel version, options include moving and sizing with cells, moving without sizing, or remaining independent of cell movement. These settings help when a worksheet is sorted, filtered, or resized, but they do not turn a picture into cell content. Newer Microsoft 365 versions may also provide a Place in Cell option for supported picture workflows. If that command is available, it behaves differently from inserting a floating picture, so choose it only when you specifically want the image associated with a cell.
For example, a floating logo placed above a title area is easy to reposition without changing the layout of the underlying cells. Product thumbnails in a list may need to stay aligned with their rows instead. In that case, adjust the object’s cell behavior or use a supported in-cell picture feature, and test what happens when you change row height, filter the list, or sort the records.
Choosing an image and managing its size
Excel can insert common image formats, but the formats available in the picker depend partly on the operating system and the installed Office build. PNG is often useful for graphics that need transparent backgrounds; JPEG is common for photographs. If Excel does not accept a file, try opening it in a trusted image editor and saving a copy in a widely supported format. Do not change the file extension alone: that does not convert the image data.
Large images can make a workbook slower to open, save, or share. Before inserting a very high-resolution photo, consider whether the sheet needs that level of detail. You can resize an image visually by dragging a corner handle, which generally preserves its proportions. Dragging a side handle can stretch it. For a more controlled layout, select the picture and use the size controls on the Picture Format tab; the exact controls shown can vary with the selected object and Excel version.
Resizing on the worksheet changes how the picture is displayed, but it does not always reduce the file’s stored image data. If workbook size is an issue, use Excel’s picture compression tools where available, or prepare a suitably sized copy before inserting it. Keep an original outside the workbook if you may need the full-resolution source later.
When the shortcut does not work
If Alt, N, P, D does not open the picture picker, check the likely causes before assuming Excel has no picture command:
- KeyTips differ: Press Alt and read the letters actually shown above the ribbon. Language settings, updates, and customization can change them.
- The ribbon is hidden or simplified: Expand the ribbon or use the Insert tab with the mouse. A compact ribbon may display controls differently.
- The wrong window has focus: Click the workbook window, then try again. A dialog, another application, or a browser can capture keyboard input.
- A key is being held instead of tapped: Press each KeyTip after releasing the previous key. The sequence is not a four-key chord.
- The workbook is restricted: Protected sheets or organizational policies can limit editing. Check whether you can insert other objects or whether the sheet needs to be unprotected by someone authorized to do so.
If a picture inserts but appears missing, it may be behind another object, outside the visible area, extremely small, or obscured by cells and formatting. Use the Selection Pane if available to locate and select objects, or undo once and repeat the insertion while watching the sheet. If Excel reports a file problem, check that the image opens outside Excel and that you have permission to access its folder.
Shortcut versus other ways to add a picture
The KeyTip sequence is convenient when you are already working at the keyboard and know you want a picture from a local file. The ribbon is easier to discover and helps you choose among sources. Dragging a supported image file from File Explorer onto a worksheet can be quick for a one-off insertion, but it gives you less guidance about the insertion options and is not a keyboard shortcut.
Copying an image and pasting it into Excel is another option when the picture is already open in another program. The result can depend on what that application places on the clipboard, so the pasted object may not behave exactly as expected. For a repeatable process, use Insert > Pictures and confirm the source file. If your purpose is to show data visually rather than add a photograph or logo, a chart may be a better choice: charts are linked to worksheet data and can update when that data changes, while a picture generally does not.
Accessibility and workbook sharing
Pictures that convey information should have useful alternative text when readers may use screen-reading software. Select the image and look for the Alt Text command in the picture context menu or Picture Format tools. Describe the information the image contributes, rather than repeating a filename such as image003.png. A decorative logo may need only a concise description, while a diagram that explains a process may need a more informative summary or a nearby text explanation.
Consider readability and printing as well. An image that looks clear at full screen may be too small on a printed page, and a large image can push a table onto extra pages. Use Print Preview to check the layout, and avoid placing important labels where they are hidden by the picture. If you share the workbook, confirm that the picture is embedded or otherwise available to recipients; a file that depends on a local path may not be accessible from another computer.
Frequently Asked Questions
What is the shortcut key to insert a picture in Excel?
In Excel for Microsoft 365 on Windows, press Alt, N, P, D in sequence to open the This Device picture picker. Follow the KeyTips displayed after pressing Alt if your installation shows different letters.
Do I press Alt, N, P, and D at the same time?
No. Press and release Alt, then press N, P, and D one after another. They are ribbon access keys, not a simultaneous keyboard combination such as Ctrl+C.
Is there a single shortcut that inserts the picture immediately?
No universal single keystroke both chooses a file and inserts it. The Windows KeyTip sequence opens the picker; you still have to navigate to the file, select it, and confirm Insert.
What is the picture-insert shortcut on a Mac?
The Windows sequence does not apply to Excel for Mac. Use Insert > Pictures > Picture from File, or search Excel Help for the picture command in your version.
Can I insert a picture directly into an Excel cell?
A standard insertion creates a floating picture over the grid. Some newer Microsoft 365 versions offer Place in Cell for supported picture workflows. If you use that feature, check the command available in your build; otherwise, use object placement settings to align a floating picture with cells.
Why do the letters after Alt look different?
KeyTips can vary with Excel’s language, ribbon layout, and version. Press Alt and use the letters that appear on your screen. You can also choose the picture command from the Insert tab instead of relying on a memorized sequence.
Related
- Power Query: Append Excel Files Into One Table
- Power Query Background Refresh in Excel: How to Disable It
- Excel Cleanup Taking Too Long? Make Cleanup Faster
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- How to Insert a Dotted Line in Word: 3 Easy MethodsTo insert a dotted line in Microsoft Word, use a paragraph border for a divider that stretches across…
- Excel Time Zones: How Date and Time Conversion WorksExcel does not assign a time zone to a date or time value: a worksheet cell holds a…
- How to Consolidate Data in Excel: Step-by-Step GuideTo consolidate data in Excel for Microsoft 365 on Windows, select the destination cell, choose Data > Consolidate,…
- Google Sheets Duplicate Rows: Find and Remove ThemYes. In Google Sheets, select the data range and choose Data > Data cleanup > Remove duplicates to…
- Excel Consolidated Sum: Combine Data Across SheetsTo create a consolidated sum in Excel for Microsoft 365 on Windows, select the destination cell, choose Data…
- Transfers in Google Sheets: Move, Copy, and Import DataGoogle Sheets can transfer spreadsheet data by moving or copying cells, copying a whole sheet, or importing a…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.