Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I know that I should know how to do this, but I am obviously having a "blank"
moment. Can anyone help? I want to call some code in the "Deactivate" event of one worksheet from another worksheet. -- It it''s meant to be, it won''t pass you by! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sheet1.Worksheet_Deactivate
worked for me. You'll have to make it Public though (or expose it through another Public procedure). Tim "Liz" wrote in message ... I know that I should know how to do this, but I am obviously having a "blank" moment. Can anyone help? I want to call some code in the "Deactivate" event of one worksheet from another worksheet. -- It it''s meant to be, it won''t pass you by! |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Tim, thanks for the reply. I did not put down my question correctly. What I
want to do is on the Deactivate event of one worksheet, call a Function ("UpdChartMonth") that is a public function on another worksheet. The purpose of UpdChartMonth is to update a chart on this "other" worksheet as a result of changes being made on the first worksheet. Tks! -- It it''s meant to be, it won''t pass you by! "Tim Williams" wrote: Sheet1.Worksheet_Deactivate worked for me. You'll have to make it Public though (or expose it through another Public procedure). Tim "Liz" wrote in message ... I know that I should know how to do this, but I am obviously having a "blank" moment. Can anyone help? I want to call some code in the "Deactivate" event of one worksheet from another worksheet. -- It it''s meant to be, it won''t pass you by! |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Assuming that you have a function called UpdChartMonth,
In your Deactivate procedure have you tried entering the line: UpdChartMonth() "Liz" wrote: Tim, thanks for the reply. I did not put down my question correctly. What I want to do is on the Deactivate event of one worksheet, call a Function ("UpdChartMonth") that is a public function on another worksheet. The purpose of UpdChartMonth is to update a chart on this "other" worksheet as a result of changes being made on the first worksheet. Tks! -- It it''s meant to be, it won''t pass you by! "Tim Williams" wrote: Sheet1.Worksheet_Deactivate worked for me. You'll have to make it Public though (or expose it through another Public procedure). Tim "Liz" wrote in message ... I know that I should know how to do this, but I am obviously having a "blank" moment. Can anyone help? I want to call some code in the "Deactivate" event of one worksheet from another worksheet. -- It it''s meant to be, it won''t pass you by! |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Similar to befo
Sheet1.UpdChartMonth (adjusted based on the codename of the sheet containing UpdChartMonth) Tim "Liz" wrote in message ... Tim, thanks for the reply. I did not put down my question correctly. What I want to do is on the Deactivate event of one worksheet, call a Function ("UpdChartMonth") that is a public function on another worksheet. The purpose of UpdChartMonth is to update a chart on this "other" worksheet as a result of changes being made on the first worksheet. Tks! -- It it''s meant to be, it won''t pass you by! "Tim Williams" wrote: Sheet1.Worksheet_Deactivate worked for me. You'll have to make it Public though (or expose it through another Public procedure). Tim "Liz" wrote in message ... I know that I should know how to do this, but I am obviously having a "blank" moment. Can anyone help? I want to call some code in the "Deactivate" event of one worksheet from another worksheet. -- It it''s meant to be, it won''t pass you by! |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Tim, thanks for the quick response and, of course, you are correct!
Major Duh! moment! Tks muchly -- It it''s meant to be, it won''t pass you by! "Tim Williams" wrote: Similar to befo Sheet1.UpdChartMonth (adjusted based on the codename of the sheet containing UpdChartMonth) Tim "Liz" wrote in message ... Tim, thanks for the reply. I did not put down my question correctly. What I want to do is on the Deactivate event of one worksheet, call a Function ("UpdChartMonth") that is a public function on another worksheet. The purpose of UpdChartMonth is to update a chart on this "other" worksheet as a result of changes being made on the first worksheet. Tks! -- It it''s meant to be, it won''t pass you by! "Tim Williams" wrote: Sheet1.Worksheet_Deactivate worked for me. You'll have to make it Public though (or expose it through another Public procedure). Tim "Liz" wrote in message ... I know that I should know how to do this, but I am obviously having a "blank" moment. Can anyone help? I want to call some code in the "Deactivate" event of one worksheet from another worksheet. -- It it''s meant to be, it won''t pass you by! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Calling a user Function in Worksheet | Excel Programming | |||
Calling VBA function from a worksheet | Excel Programming | |||
Link from worksheet in one workbook to worksheet in another workbo | Excel Discussion (Misc queries) | |||
Link from worksheet in one workbook to worksheet in another workbo | New Users to Excel | |||
calling VBA function within a worksheet | Excel Programming |