Recent workbook not showing up in recent menu

ElderWand

New Member
Joined
Apr 5, 2017
Messages
9
When I open a file through a macro, it doesn't show up in the recents. How can I make it show up?

Code:
Sheets("RAW DATA").Select    Range("A2:K2").Select
    Range(Selection, Selection.End(xlDown)).Select
    Selection.Copy
    Workbooks.Open Filename:= _
        "\\blah\blah\blah\Elimination Mapping - CURRENT.xlsx"
    Sheets("IntercompanyEliminationGL").Select[IMG]https://pasteboard.co/HIKhF6S.jpg[/IMG]
    Range("A2").Select
    Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
        :=False, Transpose:=False

HIKhF6S.jpg


https://pasteboard.co/HIKhF6S.jpg
HIKhF6S.jpg
 
Last edited:

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Perhaps:

Code:
Workbooks.Open Filename:= _
        "\\blah\blah\blah\Elimination Mapping - CURRENT.xlsx", addtomru:=true
 
Upvote 0

Forum statistics

Threads
1,215,064
Messages
6,122,936
Members
449,094
Latest member
teemeren

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