ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Worksheet_Change - determine how it is triggered (https://www.excelbanter.com/excel-programming/391327-worksheet_change-determine-how-triggered.html)

J Sears

Worksheet_Change - determine how it is triggered
 
Hi, I'm using a Showcase Query Addin to refresh the data in my worksheet.
I'm also using a Worksheet_Change Event to do thing when the user changes the
value in cells. the problem is that the worksheet Change event is getting
triggered by the Showcase query refresh, but I don't want it to.. any
ideas.????
--
Tks,
J Sears

Bob Phillips

Worksheet_Change - determine how it is triggered
 
Application.EnableEvents = False

before the query, then reset after.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"J Sears" wrote in message
...
Hi, I'm using a Showcase Query Addin to refresh the data in my worksheet.
I'm also using a Worksheet_Change Event to do thing when the user changes
the
value in cells. the problem is that the worksheet Change event is getting
triggered by the Showcase query refresh, but I don't want it to.. any
ideas.????
--
Tks,
J Sears





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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com