I want to be able to be able to close any open file. How do I do this?
Idea #1 = I've been puzzling over the Help article for Lock and Unlock statements. It would appear that it is possible to close any file in theory? I cant get it to work.
Idea #2 = If I could be certain that the current window is displaying the open filename (or if I could force this window to be the active window), I could use SendKeys to send Alt + F4 to close the file? (Not the best solution but if Idea #1 doesn't work...)
Below is what I've been playing around with.
![]()
Please Login or Register to view this content.
Bookmarks