Hello everyone.
I found this code on stack overflow:
https://stackoverflow.com/questions/25714915/check-if-a-certain-pdf-file-is-open-and-close-it
I want to be able to detect the specific app in which the pdf file is opened.
On this line:
Hwnd = FindWindow(vbNullString, "Current Letter...