1

Is there a way to find the currently open file from an Excel or Word process? For example, i want to get all the list of running processes in windows and which files they currently have open.

Thanks in advance!

2

1 Answer 1

2

I am not sure of how to programmaticly do this, but if you are asking in general or looking for a tool to do it Process Explorer can under "View Handles" and look for the type "File". You can also see which program has a specific file open by clicking the binoculars.

Sign up to request clarification or add additional context in comments.

1 Comment

In other words--it's a log of ugly low-level programming if you had to code it yourself.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.