Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 10-15-2023, 04:18 AM
p45cal's Avatar
p45cal p45cal is offline Do VBA Projects remaining visible in VBAProject window after they are closed matter somehow? Windows 10 Do VBA Projects remaining visible in VBAProject window after they are closed matter somehow? Office 2021
Expert
 
Join Date: Apr 2014
Posts: 962
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

Quote:
Originally Posted by ArviLaanemets View Post
all those ~1000 workbooks are listed as top of this selection list. I.e. any user who will work with this app, will get his/her latest opened workbooks list spammed with those.
Check out Application.RecentFiles.
The single line:
Application.RecentFiles(1).Delete
removes the most recently added recent file entry.
Perhaps you could add this line within each iteration of your loop?
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 2013, when switching to next window, often opens it as a tiny window amz Word 1 04-20-2021 12:25 AM
How to call a function in VBAProject(PERSONAL.XLSB) coffent Excel Programming 0 05-17-2020 11:31 AM
How to show days remaining oliboi Excel 6 01-24-2019 10:29 AM
Word window empty when opened minimized while Visible is False qtutorm Word VBA 2 10-08-2018 09:10 AM
Time Remaining Progress Bar teza2k06 Excel 1 05-13-2014 05:41 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:00 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft