Delete last number XX files on recent file list

NickvdB

Board Regular
Joined
Apr 30, 2014
Messages
71
Hello,

Excel 2010

I have a VBA programmed which opens a certain number of files. What I would like is that when the macro is run the recent file list of the person who is executing the macro does not get cluttered with all those files. Is it possible to reference to a certain cell with a value and have that amount of files removed from the recent file list (be carefull, I don't want to remove those files but the reference in the recent file list)? Or, even better, when opening these files open them without adding them to the recent file list??? Thank you in advance.
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
OK, maybe it helps somebody else as well, therefore I post my own workaround ;) I found in the mean time the option "Application.screenupdating = False" when this option is chosen files will not be added to the Recent file list.
 
Upvote 0

Forum statistics

Threads
1,214,864
Messages
6,121,986
Members
449,058
Latest member
oculus

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top