recently used file

L

lwm

When I use this code to save a file it works but the file does not show in
the 'recently used file' list in the file menu.

Is there something I can add to have it show in the 'recntly used files' list?

This was a macro record.

ActiveWorkbook.SaveAs Filename:= _
"C:\Documents and Settings\Larry\My Documents\IMA\Jan
19\test04.xls", _
FileFormat:=xlNormal, Password:="", WriteResPassword:="", _
ReadOnlyRecommended:=False, CreateBackup:=False


Thanks
 
J

Jim Cone

Note the addition at the end of the last line...

ActiveWorkbook.SaveAs Filename:= _
"C:\Documents and Settings\Larry\My Documents\IMA\Jan 19\test04.xls", _
FileFormat:=xlNormal, Password:="", WriteResPassword:="", _
ReadOnlyRecommended:=False, CreateBackup:=False, AddToMru:=True

Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)





in message
When I use this code to save a file it works but the file does not show in
the 'recently used file' list in the file menu.

Is there something I can add to have it show in the 'recntly used files' list?

This was a macro record.

ActiveWorkbook.SaveAs Filename:= _
"C:\Documents and Settings\Larry\My Documents\IMA\Jan
19\test04.xls", _
FileFormat:=xlNormal, Password:="", WriteResPassword:="", _
ReadOnlyRecommended:=False, CreateBackup:=False


Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top