Test if File is Shared using VB

P

PCLIVE

Using VB, I'm trying to test if the activeworkbook is shared.
Something like this, but it doesn't work.

If ActiveWorkbook.ExclusiveAccess = False

So how would I write this code?
Thanks,
Paul

--
 
P

PCLIVE

Nevermind, I think I got it.

If ActiveWorkbook.MultiUserEditing = True _

Thanks anyway.
Paul
 

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