Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 523
Default Third party .xla interferes with Worksheet_Change

Hi all,

I've got a macro that needs to be triggered by a worksheet_change event.
This works fine... unless the user is using a third party product, which
installs a certain .xla

The .xla appears to be watching for worksheet changes too - when a user
changes a cell which contains "=DBGET(..)" there must be a macro which steps
in, writes the new cell value to an OLAP database, and leaves the formula
where it is (a DBGET reads values from the same OLAP database)

I've studied this all closely, and changing a value on a sheet launches the
third party macro first, which runs once but does nothing as the cell changed
doesn't contain a DBGET, but then passes the original, unchanged value, to my
macro, which promptly does the wrong thing entirely.

I've tried closing the .xla file in my code, then re-opening it after my
macro has run, but then I get an error message that excel cannot find a sub
from the third party add-in. Where on earth can it be getting the instruction
to look for this macro from? Is there something else I need to close or
disable?

I'm stumped...
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Third party .xla interferes with Worksheet_Change

Have you tried turning the add-in's event handling off?:

Workbooks("BadAddIn.xla").ToggleFormsDesign

This requires Excel 2003 I believe.

--
Jim
"Sam Wilson" wrote in message
...
| Hi all,
|
| I've got a macro that needs to be triggered by a worksheet_change event.
| This works fine... unless the user is using a third party product, which
| installs a certain .xla
|
| The .xla appears to be watching for worksheet changes too - when a user
| changes a cell which contains "=DBGET(..)" there must be a macro which
steps
| in, writes the new cell value to an OLAP database, and leaves the formula
| where it is (a DBGET reads values from the same OLAP database)
|
| I've studied this all closely, and changing a value on a sheet launches
the
| third party macro first, which runs once but does nothing as the cell
changed
| doesn't contain a DBGET, but then passes the original, unchanged value, to
my
| macro, which promptly does the wrong thing entirely.
|
| I've tried closing the .xla file in my code, then re-opening it after my
| macro has run, but then I get an error message that excel cannot find a
sub
| from the third party add-in. Where on earth can it be getting the
instruction
| to look for this macro from? Is there something else I need to close or
| disable?
|
| I'm stumped...


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
3rd party add ins for XL 07 Dave F Excel Discussion (Misc queries) 8 February 16th 07 02:09 PM
code interferes with function charts() Keyur Excel Programming 1 July 28th 04 02:52 PM
worksheet_change vs. calculate, and worksheet_change not running Tom Ogilvy Excel Programming 1 July 14th 03 02:51 AM
worksheet_change vs. calculate, and worksheet_change not running Ross[_5_] Excel Programming 0 July 13th 03 04:27 PM


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