Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Bob Bob is offline
external usenet poster
 
Posts: 972
Default Testing for Shared Workbook

I need to check to see if a workbook that resides on a networked drive has
been set to "shared" mode (Tools, Share Workbook...). Is that possible,
using VBA? If so, can someone please direct me to where I can find some
sample code? (I'm a VBA novice.) Thanks in advance for any help.
Bob
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Testing for Shared Workbook

Maybe (is the workbook open?)...

MsgBox ThisWorkbook.MultiUserEditing



Bob wrote:

I need to check to see if a workbook that resides on a networked drive has
been set to "shared" mode (Tools, Share Workbook...). Is that possible,
using VBA? If so, can someone please direct me to where I can find some
sample code? (I'm a VBA novice.) Thanks in advance for any help.
Bob


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
Bob Bob is offline
external usenet poster
 
Posts: 972
Default Testing for Shared Workbook

Dave,
I looked up the MultiUserEditing property in Excel's help file. It appears
that it may do the trick. I'll have to test it out. Thanks for pointing me
in the right direction. I really appreciate it.
Bob


"Dave Peterson" wrote:

Maybe (is the workbook open?)...

MsgBox ThisWorkbook.MultiUserEditing



Bob wrote:

I need to check to see if a workbook that resides on a networked drive has
been set to "shared" mode (Tools, Share Workbook...). Is that possible,
using VBA? If so, can someone please direct me to where I can find some
sample code? (I'm a VBA novice.) Thanks in advance for any help.
Bob


--

Dave Peterson

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 workbook is set up is not 'shared' on network moviemaker novice Excel Worksheet Functions 0 April 7th 10 03:31 AM
shared workbook - shared workbook options grayed out Edward Letendre Excel Discussion (Misc queries) 0 March 3rd 10 10:47 PM
Printing viewing a shared workbook on a shared drive aloomba Excel Discussion (Misc queries) 0 April 13th 07 02:52 PM
Testing if a workbook is open Conan Kelly Excel Programming 1 February 12th 07 10:58 PM
update pivot in shared shared workbook 00George00 Excel Discussion (Misc queries) 1 August 23rd 06 08:16 PM


All times are GMT +1. The time now is 12: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"