Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 287
Default leave sheet event

Hello,

I believe I need to use the deactivate sheet event to run a macro, but don't
know how to code it.

I have a sheet named RateAdjust where we make some adjustments. When I
leave that sheet, I'd like to run my macro RefreshPivots. I'm sure this is
simple. Can someone help. Thank you so much,
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default leave sheet event

1. Go to the IDE.
2. Select the worksheet from "Microsoft Excel Objects".
3. Change the drop-downs in the coding area, located at the top of the IDE,
to "Worksheet" and "Deactivate".

hope that helps.

"Aaron" wrote in message
...
Hello,

I believe I need to use the deactivate sheet event to run a macro, but
don't
know how to code it.

I have a sheet named RateAdjust where we make some adjustments. When I
leave that sheet, I'd like to run my macro RefreshPivots. I'm sure this
is
simple. Can someone help. Thank you so much,



Reply
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
Copy Sheet #'s, but leave cell reference KennyD Excel Discussion (Misc queries) 3 November 9th 09 10:55 PM
Excel sheet: scroll down, but leave first lines visible Hans F. New Users to Excel 4 August 10th 07 04:44 PM
How to leave the lines on my exel work sheet BKMorris Excel Worksheet Functions 3 April 4th 07 05:09 PM
Transpose from one sheet to the next and leave out blank cells notso Excel Discussion (Misc queries) 2 January 31st 07 01:42 AM
Start a sheet event when i leave a sheet hans[_3_] Excel Programming 2 May 21st 04 09:43 PM


All times are GMT +1. The time now is 03:57 AM.

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"