Office for Mac Issues

Excel for Mac: Paste Image Filenames as Text into a Shared Workbook

Rana GarciaRana Garcia Nov 12, 2026 868 views

Question details

The user needs to paste the filenames of selected PNG files as text into a shared workbook on a Mac.

Product
Microsoft Excel for Mac
Device & OS
not provided
Scenario
Selected image files need to be recorded as filenames in a shared Excel workbook instead of being inserted as images.
Observed behavior
Command+C and paste may insert the image files rather than their filenames, depending on the workbook type and clipboard behavior.
Before you start

Open Finder in List view so the file names are visible, and open a plain-text editor such as TextEdit. Confirm that the shared workbook is open and that you know which cell should receive the filenames.

Solution 1Recommended

Use a plain-text editor to transfer the image filenames

Use this method when copying selected PNG files from Finder pastes images instead of filename text in the shared workbook.

A plain-text intermediary strips the file-object or image data from the clipboard and lets Excel receive ordinary text. If Finder still copies file objects, select the visible filename text in List view before copying.

1
Show filenames in Finder

In Finder, open the folder containing the PNG files and choose View > as List so each filename is visible.

2
Copy the filename information

Select the required files and press Command+C. If TextEdit receives images or file icons, click and select the visible filename text in Finder's List view, then press Command+C again.

3
Convert the clipboard to plain text

Open TextEdit, choose Format > Make Plain Text if needed, and press Command+V. Check that the filenames appear as text rather than images.

4
Copy the plain text

Select the filenames in TextEdit and press Command+C to copy the text-only values.

5
Paste into the shared workbook

Return to Excel, click the destination cell in the shared workbook, and press Command+V. The filenames should be inserted as text.

Check the pasted values: If several filenames are pasted into separate lines, select the starting cell before pasting. If they appear in one cell, use the text editor to place each filename on its own line first.
Free Microsoft Office alternative

Work with Shared Spreadsheet Files in WPS Office on Mac

WPS Office provides a free, lightweight spreadsheet alternative for opening compatible Excel workbooks and pasting filename text without relying on Excel for Mac's file-object clipboard behavior. Its familiar interface supports a straightforward migration from Microsoft Office files.

  1. 1. Install WPS Office: Download and open WPS Office for Mac, then launch WPS Spreadsheet from the home screen.
  2. 2. Open the workbook: Choose Open from the WPS Office home screen and select the compatible .xlsx workbook from Finder.
  3. 3. Prepare filename text: In Finder List view, copy the visible filenames or transfer them through TextEdit in plain-text mode.
  4. 4. Paste into the worksheet: In WPS Spreadsheet, select the destination cell and choose Edit > Paste or press Command+V.
Paste cleaned filename text into spreadsheet cells using a familiar worksheet interface.Open and edit Microsoft Excel .xlsx workbooks with broad format compatibility.Use a lightweight Office alternative on Mac for everyday spreadsheet tasks.Keep filename lists organized with cells, rows, and standard spreadsheet formatting.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Command+C paste PNG images instead of their filenames in Excel for Mac?

Finder can place file objects or image data on the clipboard rather than plain text. This behavior can also vary when the destination is a shared workbook. Use a plain-text editor as an intermediary to copy only the filename text.

Should I use Command+C or Ctrl+C on a Mac?

Use Command+C in Finder and Excel for Mac. Ctrl+C is not the standard macOS copy shortcut and may not perform the expected action in these applications.

How can I make Finder show the filenames before copying them?

Open the folder in Finder, choose View > as List, and select the visible filename text if copying the files themselves produces image data.

Can I paste the filenames directly into a shared Excel workbook?

Yes, when the clipboard contains plain text. Copy the filenames through TextEdit in plain-text mode, return to Excel, select the target cell, and press Command+V.

What should I do if all filenames appear in one Excel cell?

In TextEdit, place each filename on a separate line before copying. Then select the starting cell in Excel and paste so the values can populate consecutive rows.