Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default open workbook for sharing

Hi,

I need to open a workbook for sharing.

I am using this code to open the workbook:

Set wb = Workbooks.Open(ActiveWorkbook.Path & "\Ongoing")

what do I need to add to the end of it to make sure it is shared?

Thanks,

Albert
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default open workbook for sharing

Shared is an attribute of the workbook so you do not need to specify
anything. You just need to save the book as a shared book. Note that sharing
is a type of protection and that Macro's and shared workbooks don't get
along. Some things work. Lots of things don't. There will be lots of trial
and error to get the code to work and you will not be able to get a lot of
help from this forum becuase most of the folks around here avoid shared
workbooks as they are more trouble than they are worth in most circumsatances.
--
HTH...

Jim Thomlinson


"Albert Browne" wrote:

Hi,

I need to open a workbook for sharing.

I am using this code to open the workbook:

Set wb = Workbooks.Open(ActiveWorkbook.Path & "\Ongoing")

what do I need to add to the end of it to make sure it is shared?

Thanks,

Albert

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
SHARING WORKBOOK valrom06 Excel Worksheet Functions 0 October 17th 07 06:00 PM
Open a specific workbook...find value from other open workbook and then insert cells values in cell next to it. [email protected] Excel Programming 1 May 13th 07 01:46 PM
Sharing a workbook Julia Excel Worksheet Functions 4 September 21st 05 09:10 AM
Sharing variable values between open workbooks? Julian Milano[_2_] Excel Programming 0 January 29th 04 01:13 AM
Sharing a workbook Tørres K. Brøvig Excel Programming 0 November 21st 03 10:03 AM


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