LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default is there a before_worksheet_deactive sub

"short_n_curly"
wrote in message
news:short_n_curly.1rtcqg_1120763181.0078@excelfor um-nospam.com...

basically what the title says there is a worksheet deactivate sub but is
there a before worksheet deactivate sub or is it just as simple as
typing before infront thanks



Hi Short_n_curly,

What is it that you are trying to do?

In a new workbook, copy the following into the module behind sheet1.

Private Sub Worksheet_Deactivate()
Range("A1").Value = _
"This was written before I left Sheet1!"
End Sub

Then (with Sheet1 active) select another sheet., return to Sheet, look at
A1.

Does that help?

---
Regards,
Norman




 
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



All times are GMT +1. The time now is 07:19 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"