View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default if the file is shared, do not execute macro

Look in VBA's help for: MultiUserEditing



nerohnze wrote:

I need some help about executing a macro if and only if the file is not shared.
I searched some codes like:
<If Workbooks("x.xls").Shared = True
But it didn't fit.
How can i adjust the code?
Thanks for help.


--

Dave Peterson