Excel file opened

  • Thread starter Thread starter Fernando
  • Start date Start date
F

Fernando

Hello,

How can I know if an excel file is being accessed by
another user, in Visual Basic for excel? Is there a global
constant or something that idicates this?

Thank you
 
-----Original Message-----
Hello,

How can I know if an excel file is being accessed by
another user, in Visual Basic for excel? Is there a global
constant or something that idicates this?

Thank you
.
If it is 'Shared' you can simply look in the list of
current users. If it isn't shared, maybe just share it
for a while and continually check the list to see if
anyone else is opening it up.

If you don't want to have others opening it up, then you
should probably 'protect' the workbook with a password.

Both Sharing and Protecting are built in functions that
you can find under 'Tools'. Conveniently, they are placed
right next to each other in the list.
 

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

Back
Top