LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Events won't trigger if locked for edit and if opened from IE

I don't know if I'm at the right place because there is 3 MS products
involved Excel, IE and IIS. But throwing a Q here is a start.

The problem is that an Excel workbook we're working on, heavily dependent on
vba and events like onopen, onclose, onselection_change, etc., won't run ANY
user triggered events if the file is locked for editing by another user and
file is opened by a link on a local intranet site with IE... I'll take it
again


The workbook use macros and events to do several things like auto save and
close, and the code has a fail safe to avoid people from turning off macros
in Excel when opening it. The workbook is totally locked down if macros can't
run (unless you have the password ofc).
This workbook is then put on our intranet for everyone to use and edit,
though we only allow one user at a time. This is why we created an auto save
and close so people wont forget to close the wb and lock other users out.

Normally this works out quite well until the occasion when a user wants to
access the wb when it's already opened by another user. IF the user tries to
open the locked file through IE using the webpage provided hyperlink, no vba
events get triggered what so ever. Workbook_Open, Workbook_BeforeClose,
Workbook_BeforeSave, etc. But other macros can be executed so macros haven't
been deactivated. On the other hand if the user instead browses the file on
the server and opens it with Windows Explorer or in any other way, everything
works fine and events are fired like normal.

What are we doing wrong? Bug or settings?

Using: IE 6 and 7, Excel (Office) 2000, 2002 and 2007, IIS v?, XP pro...
 
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
Trigger CAPS LOCK ON When Wk Bk is Opened? rwjack Excel Programming 9 August 6th 08 08:16 AM
Problems with Trigger sequencing and disabling events? Tachyon Excel Programming 0 July 2nd 08 09:56 AM
Events don't seem to trigger after deleting cell values ward376 Excel Programming 3 November 19th 07 01:28 AM
Time events to trigger VB (corrected) David Robinson[_3_] Excel Programming 6 November 19th 03 02:06 PM
Tim events to trigger VB programs David Robinson[_3_] Excel Programming 0 November 18th 03 09:42 PM


All times are GMT +1. The time now is 01:14 AM.

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"