Macro to open the most recent part

I have a macro that opens all prt files in a directory and saves them as sldprt.  I have prt files that go all that go from .prt.1 up to .prt.200.  I want to forget about opening all previous files and focus just on the most recent.  Is there a way this can be done?

SolidworksApi macros