LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Capturing the selected tab in a worksheet_deactivate macro

HELP! Here's what I need to do.

On deactivating a particular worksheet in a workbook, I need to run a
complex update macro (which I'm having no trouble with). Problem is this, to
accomplish updating all the pages, etc. in the deactivate macro, I have to
activate other sheets in the workbook. So, let's say, the deactivate macro is
on Sheet1, and I do a bunch of stuff on Sheet2 and Sheet 3 during the
deactivate macro, but I clicked on Sheet6, initiating the macro.

At the end of the deactivate macro, how do I get it to go back to Sheet6 (or
whatever sheet was selected?


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to run on selected sheets terilad Excel Discussion (Misc queries) 18 April 7th 10 03:14 PM
run macro when cell is selected beauty_bobaloo Excel Worksheet Functions 9 January 30th 06 11:11 PM
Macro help in capturing server time saurabhb Excel Programming 0 September 16th 04 10:48 AM
Macro to run in same row as selected button nejl Excel Programming 2 September 6th 04 02:17 PM
Help : Macro for capturing current system time imr Excel Programming 3 July 2nd 04 02:58 AM


All times are GMT +1. The time now is 05:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"