ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel 2003 Calculate Event (https://www.excelbanter.com/excel-programming/364618-excel-2003-calculate-event.html)

Peter Haserodt

Excel 2003 Calculate Event
 
Hi,
(excuse my english)

does somebody know why Excel 2003 fires the calculate event, when rows /
columns will be hidden?

Example:

Range d5:= A1

Private Sub Worksheet_Calculate()
MsgBox "Hi"
End Sub

Hide now Row 1 and the event fires.
(It fires for the whole workbook)

In former Excel.Applications this did not happen?

Any idea?

Tx
Peter




Tom Ogilvy

Excel 2003 Calculate Event
 

They changed the functionality of the subtotal function so it respects all
hidden rows besides rows hidden by a filter, so I suspect this is why they
have altered the behavior.

--
Regards,
Tom Ogilvy



"Peter Haserodt" wrote in message
...
Hi,
(excuse my english)

does somebody know why Excel 2003 fires the calculate event, when rows /
columns will be hidden?

Example:

Range d5:= A1

Private Sub Worksheet_Calculate()
MsgBox "Hi"
End Sub

Hide now Row 1 and the event fires.
(It fires for the whole workbook)

In former Excel.Applications this did not happen?

Any idea?

Tx
Peter






Peter Haserodt

Excel 2003 Calculate Event
 
Hi Tom,
TX
I thought something like sumtotal could be the reason but i did not know
why.
Some changes are not to the best :-(

Regards Peter


"Tom Ogilvy" schrieb im Newsbeitrag
...

They changed the functionality of the subtotal function so it respects all
hidden rows besides rows hidden by a filter, so I suspect this is why they
have altered the behavior.

--
Regards,
Tom Ogilvy



"Peter Haserodt" wrote in message
...
Hi,
(excuse my english)

does somebody know why Excel 2003 fires the calculate event, when rows /
columns will be hidden?

Example:

Range d5:= A1

Private Sub Worksheet_Calculate()
MsgBox "Hi"
End Sub

Hide now Row 1 and the event fires.
(It fires for the whole workbook)

In former Excel.Applications this did not happen?

Any idea?

Tx
Peter









All times are GMT +1. The time now is 08:34 AM.

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