Sign in with
Sign up | Sign in

Macro for open very last closed file in ms word

Hi

I am currently using MS Office 2003 and I am in need of a macro which can open the last closed word document especially when there are many word documents opened. This macro should also work even if the word doc was not saved.

I already have a macro which opens the most recent document but it does not works properly.

For example: Consider there are two word files A and B. Firstly, I will open A and then I will open B (keeping A opened). Now when I close B and run the macro for recent file it will open file B. It works fine. But now when I close file A (keeping B opened - which was opened using that macro) and then if I try again to run that macro, it should open the file A. Right? But this doesn't work.

Can anyone help me overcome this situation? Thanks in advance

Manoj
Ask the community
!