LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default if the file is shared, do not execute macro

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.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Execute a macro in another file with an argument XP Excel Programming 1 August 20th 07 10:26 PM
Macro not working properly when the file is shared Chakri Excel Worksheet Functions 0 August 30th 06 01:33 PM
Execute macro at opening file clippan New Users to Excel 1 November 26th 05 10:03 AM
Macro error when file is shared Eric @ SEASH, Evansville Excel Discussion (Misc queries) 2 August 25th 05 03:26 AM
Shared file - macro error Tom Ogilvy Excel Programming 0 August 15th 03 10:59 PM


All times are GMT +1. The time now is 11:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"