check if file already is open

G

Guest

Hi all,
In a vba routine a specific workbook has to be opened, but if it´s already
open (by another user) it shouldn´t be opened as read-only. Instead i will
interrupt the routine and give a msg "the file is already opened by another
user, the routine is interrupted". I cant find a method to check if the file
is open.
I have a similar question when updating PowerPoint slides from Excel. In
that case I will check if a specific power-point is opened.
Thanks in advance
Regards
Mats
ESI Update
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top