Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Limitations of shared workbooks

I have a workbook which has a sub that sends a sql query to an external
(Oracle) database. When I check the share workbook property so that
changes can be made by 1+ users at the same time, the sub returns the
following error:

"Run-time error '1004': this command is not available in a shared
workbook"

I can see why there is a restriction on doing this in a shared workbook,
but is there any workaround?

Thanks.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 120
Default Limitations of shared workbooks

Hi,

Thanks for posting in the group.

I have reviewed your thread. Currently I am finding somebody who could help
you on it. We will post back in the newsgroup as soon as possible.

If there is anything unclear, please feel free to post in the group and we
will follow up there.

Best Regards,
Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 115
Default Limitations of shared workbooks

Hi DieuSoleil,

Did the problem occur when only you open the shared workbook on the network
share?
When the error occurred , if you press debug, which code line did debugger
stop at?
Also here is article which may be the problem, you may take a look.
How to Identify and Remove PLDT/CAR/SGV Macro Viruses
http://support.microsoft.com/?id=176807

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Limitations of shared workbooks

Peter,

Thanks for the reply.

The error occurs when I call the sub that sends off the SQL query,
irrespective of whether I'm using the file on my client or whether I'm
accessing it via the network in IE (v6).

When the workbook is not shared it works perfectly in both environments.

Even when I created a workbook with only 1 procedure (to send off a
query to the db) I had the same problem when it was shared, likewise the
problem occurs when I try and re-run a procedure generated using the
macro recorder so I'm sure the problem is not related to my code.

When the error occurs I am not given the opportunity to access the
debugger: the button is greyed out, as is continue.

I have checked for the viruses you mentioned but none of them are
present on my system.

I'm using MS Excel 2000 SP3 on Windows 2000 SP4.

Thanks again for the assistance.
Regards,
Iain


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 115
Default Limitations of shared workbooks

Hi,

I have replied to your another issue in the group below.
Subject: 'Server-side' apps
Newsgroups: microsoft.public.excel.programming

Since the two issues are related, I will follow you up in that thread.

Thanks.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

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 Workbooks-shared headers and footers Sherry New Users to Excel 1 June 13th 08 03:59 PM
suddenly my excel workbooks are "shared workbooks" Maggie's mom Excel Discussion (Misc queries) 1 August 28th 05 09:20 PM
Shared Workbooks DG Excel Worksheet Functions 0 January 19th 05 02:35 PM
Shared Workbooks Seth[_3_] Excel Programming 0 December 6th 03 08:36 AM
Limitations of a shared workbook Jon Omar Excel Programming 2 August 7th 03 10:38 PM


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