Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is it posible to make changes on a sheet and then when i leave the sheet
start some macros for the sheet i just left? Gretings Hans |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
right click on the sheet tabview codeselect worksheetselect deactivate
-- Don Guillett SalesAid Software "hans" wrote in message ... Is it posible to make changes on a sheet and then when i leave the sheet start some macros for the sheet i just left? Gretings Hans |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hans,
Put your code in the worksheet code: Private Sub Worksheet_Deactivate() *** your code *** End Sub To get to the code sheet - right click on the sheet tab and select "View Code". This will take you to the code window. Above the 'blank' page are 2 edit boxes. From the one on the left - select "Worksheet", and from the one on the right - select "Deactivate". Any code you put in here will run when you select another worksheet tab. hth -- steveB (Remove 'NOSPAM' from email address if contacting me direct) "hans" wrote in message ... Is it posible to make changes on a sheet and then when i leave the sheet start some macros for the sheet i just left? Gretings Hans |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy Sheet #'s, but leave cell reference | Excel Discussion (Misc queries) | |||
How to leave the lines on my exel work sheet | Excel Worksheet Functions | |||
Transpose from one sheet to the next and leave out blank cells | Excel Discussion (Misc queries) | |||
'Copy to' Advance Filter depend only on sheet ID not start sheet | Excel Worksheet Functions | |||
Assign values to a cell in sheet A, from worksheet_change event of sheet B | Excel Programming |