In Excel 2013, you just do it by going to File > open > Recent Workbooks > choose the first in the list.
But can this be done by code ? Seems easy enough to do, but i didn't find any clue, here or on the net.
note, i think i need the name + full path of the file , and then a simple workbooks.open Filename, will do.
Also note, no workbooks are opened at this time, and thisworkbook.name is not elligible (or it will loop infinitely to open himself).
i was thinking of something like
Dim a as Long Dim i as Long Dim Str as String a= Application.OpenworkbooksHistory.items.count For i=1 to a str = Application.OpenworkbooksHistory.items (i) if str<>thisworkbook.path & "\" & thisworkbook.name then workbooks.open str exit sub end if next i