Specifying the Number of MRU Files

Written by Allen Wyatt (last updated February 24, 2024)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021


5

Excel can easily keep track of the last several workbooks you've edited. This list of files is often referred to as the MRU (most recently used) file list. Excel allows you to specify, exactly, how many files you want tracked in this list. You can change the number of MRU files by following these steps:

  1. Display the Excel Options dialog box. (In Excel 2007 click the Office button and then click Excel Options. In Excel 2010 or a later version display the File tab of the ribbon and then click Options.).
  2. Click Advanced at the left side of the dialog box.
  3. Scroll through the available options until you see the Display section. (See Figure 1.)
  4. Figure 1. The Advanced options of the Excel Options dialog box.

  5. Use the control labeled Show this Number of Recent Workbooks to indicate how many files you want to appear in the MRU list. (You can set a value up to 50.)
  6. Click OK.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (6238) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Better Ways to Insert Symbols

The traditional way to insert symbols into a document is to use the Symbol dialog box. This tip looks at ways other than ...

Discover More

Renaming a File

Need to rename a disk file from within a macro? You can do it using the Name command, described in this tip.

Discover More

Getting Rid of a Spiked Square

Sometimes you may see characters in a document that you cannot get rid of and you aren't sure what they are. That's the ...

Discover More

Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!

More ExcelTips (ribbon)

Avoiding Scientific Notation on File Imports

When importing information from a CSV file, you may get unintended results from time to time. Here's how to force Excel ...

Discover More

How Excel Treats Disk Files

Workbooks are loaded from disk files, but workbooks aren't the only type of files that Excel can load. This tip provides ...

Discover More

Pulling Filenames into a Worksheet

You can use Excel for all types of data processing. You may want to work with filenames in a worksheet, but the first ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 2 + 2?

2024-07-28 11:22:53

J. Woolley

My earliest comment below describes the ListRecentFiles function to list the MRU files. My Excel Toolbox now includes the TrimRecentFiles macro to identify files that can be removed from the MRU list. Such files must be picked from an updated result of the ListRecentFiles function. The TrimRecentFiles macro also enables adjusting the size of the MRU list ("number of Recent Workbooks" in Figure 1 above).
My Excel Toolbox also includes the following dynamic array function to list folders derived from the MRU list of files:
    =ListRecentFolders([AddPath])
AddPath is the same as previously described for the ListRecentFiles function. The ListRecentFolders result is similar to clicking "More..." at bottom-right of Excel's Backstage view, then picking "Folders" at the top.


2024-02-25 15:57:20

Gene

J. Woolley
Thank you! I hadn’t noticed the little “More workbooks” down in the corner.


2024-02-25 09:43:19

J. Woolley

@Gene
Click "More..." at bottom-right or use the scroll bar.


2024-02-24 14:18:52

Gene

I have specified a quantity of 50 in Show this number of Recent Workbooks, Quickly access this number of Recent Workbooks, and Show this number of unpinned Recent Folders. The list does contain 50, but only 10 can be viewed. Items must be removed from the list to see others below the tenth one.


2024-02-24 11:02:09

J. Woolley

My Excel Toolbox includes the following dynamic array function to list the MRU filenames:
    =ListRecentFiles([AddPath])
If optional AddPath is FALSE (default) or null (""), the list will not be altered.
If AddPath is TRUE, Excel's default local filepath will be prepended to any filename that does not begin with \ and does not specify a drive (like D:\...) or network path (like \\MYNET\...); if the filename begins with one \ character, Excel's default local drive (like C:) will be prepended. Excel's default local filepath is defined in Options > Save.
If AddPath is text (like "Path" or "E:\Path"), that text will be prepended to any filename that does not begin with \ and does not specify a drive or network path; if the filename begins with one \ character, Excel's default local drive will be prepended.
If a non-default AddPath is specified, results should be carefully reviewed.
When using pre-2021 versions of Excel without support for dynamic arrays, review the PDF file UseSpillArray.pdf.
See https://sites.google.com/view/MyExcelToolbox


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.