Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Sharing a workbook

I have the following scenario:

Everyday we dump some data from a Oracle database to Excel. To format this
workbook I have written some code and saved it in the global workbook (my
users only press a button to format the text).

I have also some code which activates workbookshaing before the file is
saved:

With ActiveWorkbook
.ConflictResolution = xlLocalSessionChanges
.KeepChangeHistory = False
End With

With ActiveWorkbook
.AutoUpdateFrequency = 5
.AutoUpdateSaveChanges = True
End With

This works very well on the machine where I create the file. I can verify
that the settings are correct under toolsshare workbook...

BUT...When I open the workbook on another machine the workbook is shared,
but the settings for updatefrequency is set to default. And then I can`t get
the two-way communication as I wantet. The user on the other machine have to
manually save the workbook to see/send updates to other users who have the
workbook open.

Is it possible to write some code in the global workbook that automatically
create code under the current workbook - (Private Sub Workbook_Open())?

If it is possible this code will be executed when the file is opened no
matter on what machine.

Hope you got the point. My english isn`t that good

Regards

Tørres



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 DaveAsh Excel Worksheet Functions 1 November 23rd 07 01:04 PM
SHARING WORKBOOK valrom06 Excel Worksheet Functions 0 October 17th 07 06:00 PM
Sharing workbook over (S)FTP? Pasi Excel Discussion (Misc queries) 4 December 24th 06 04:52 PM
Sharing Workbook Kathryn J Bittman Excel Discussion (Misc queries) 0 May 2nd 06 10:37 PM
Sharing Workbook and VBA don New Users to Excel 1 October 21st 05 04:05 AM


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