I could be wrong but I doubt you could do that via the Windows API. I would think that Office Automation would be the way to go. I'm not sure but I would think that you could attach to an existing instance of Excel and then use the object model to determine the path of the open file. The Office Development forum would be the place to ask, then come back here if you need help to implement what you've learned in VB.NET.