Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 93
Default shared file !

Hi All,

Is there any vba code to know whether the active workbook is shared
or
not ?


like this .....
if activeworkbook is shared then
msgbox "you file is shared, remove share"
else
"my code goes here....."
end if


thanks in advance.




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default shared file !

if ActiveWorkbook.MultiUserEditing then
msgbox "... "

--
HTH...

Jim Thomlinson


"fi.or.jp.de" wrote:

Hi All,

Is there any vba code to know whether the active workbook is shared
or
not ?


like this .....
if activeworkbook is shared then
msgbox "you file is shared, remove share"
else
"my code goes here....."
end if


thanks in advance.





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 93
Default shared file !

Thanks a lot Jim


On Jun 17, 5:19*pm, Jim Thomlinson <James_Thomlin...@owfg-Re-Move-
This-.com wrote:
if ActiveWorkbook.MultiUserEditing then
*msgbox "... * "

--
HTH...

Jim Thomlinson



"fi.or.jp.de" wrote:
Hi All,


Is there any vba code to know whether the active workbook is shared
or
not ?


like this .....
* * * *if activeworkbook is shared then
* * * * * * *msgbox "you file is shared, remove share"
* * * else
* * * * * "my code goes here....."
* * * end if


thanks in advance.- Hide quoted text -


- Show quoted text -


Reply
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
Shared File Canon Excel Discussion (Misc queries) 3 December 28th 09 04:04 PM
Shared file vcff Setting up and Configuration of Excel 0 May 1st 09 01:29 AM
Shared File Pepper New Users to Excel 1 November 23rd 08 02:01 AM
Shared File Gallego Excel Worksheet Functions 0 March 13th 07 04:00 PM
shared file tjh Excel Worksheet Functions 0 March 10th 05 04:33 PM


All times are GMT +1. The time now is 11:55 AM.

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

About Us

"It's about Microsoft Excel"