ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Worksheet_Calculate (https://www.excelbanter.com/excel-programming/440208-worksheet_calculate.html)

LuisE

Worksheet_Calculate
 
I need to use comboboxes to update several pivot tables. What event should i
use to loop thru the changes to the comboboex and update the respective
fields of the different pivot tables?

I'm trying Worksheet calculate but it will keep going even though if i turn
the diableevents to false

Thanks in advance

Stefi

Worksheet_Calculate
 
Isn't diableevents a typo? Maybe you meant Application.EnableEvents

--
Regards!
Stefi



€˛LuisE€¯ ezt Ć*rta:

I need to use comboboxes to update several pivot tables. What event should i
use to loop thru the changes to the comboboex and update the respective
fields of the different pivot tables?

I'm trying Worksheet calculate but it will keep going even though if i turn
the diableevents to false

Thanks in advance


LuisE

Worksheet_Calculate
 
yes that's what i meant

"Stefi" wrote:

Isn't diableevents a typo? Maybe you meant Application.EnableEvents

--
Regards!
Stefi



€˛LuisE€¯ ezt Ć*rta:

I need to use comboboxes to update several pivot tables. What event should i
use to loop thru the changes to the comboboex and update the respective
fields of the different pivot tables?

I'm trying Worksheet calculate but it will keep going even though if i turn
the diableevents to false

Thanks in advance


Stefi

Worksheet_Calculate
 
Maybe

Private Sub ComboBox1_Change()

is the event you are looking for, but why do you want to set
Application.EnableEvents to False? That stops triggering all event subs.

--
Regards!
Stefi



€˛LuisE€¯ ezt Ć*rta:

yes that's what i meant

"Stefi" wrote:

Isn't diableevents a typo? Maybe you meant Application.EnableEvents

--
Regards!
Stefi



€˛LuisE€¯ ezt Ć*rta:

I need to use comboboxes to update several pivot tables. What event should i
use to loop thru the changes to the comboboex and update the respective
fields of the different pivot tables?

I'm trying Worksheet calculate but it will keep going even though if i turn
the diableevents to false

Thanks in advance



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

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