Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello all!
I have simple VB (See below) that calls another macro every time a user "leaves" a specific sheet. The Macro runs fine, but when finished running takes the user to the sheet where the macro last did its thing, as opposed to where the user clicked. Thus for eg, if the private sub was within sheet1, and user clicked sheet2 - macro below would run, but take the user to sheet called by the data resolve macro, instead of sheet2, which is users choice. Ideas...? Thanks and Kind Regards Darin Private Sub Worksheet_Deactivate() Application.CommandBars("Data").Visible = False Call Data_resolve End Sub *** Sent via Developersdex http://www.developersdex.com *** |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sheet selected, automatic return to top of sheet | Excel Worksheet Functions | |||
re : Possible to run private sub macros by writing another private | Excel Programming | |||
Updating excel sheet with selected data from another sheet in the same file | Excel Worksheet Functions | |||
how do i make it so that when a sheat is selected either via link or tab, that xlLastCell is selected. the last on the sheet. | Excel Worksheet Functions | |||
Private Sub Running Other Private Sub Inadvertently | Excel Programming |