Events

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

is there an event that will run if a workbook is restored after it has been
minimised
 
Roger

In the workbook module (right-click the Excel Icon on the left of the Menu
Bar and selet View code) and use these events

Private Sub Workbook_Activate()
Your code here
End Sub

Private Sub Workbook_Deactivate()
Your code here
End Sub

Regards
Peter
 
thanks Billy but i have already tried these - they work when switching from 1
workbook to another but dont work if you minimise then restore - rog
 
The Workbook_WindowResize event (in ThisWorkbook) may be what you want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Minimise/Restore 2
Maximise Event 2
Application Maximise event 1
Minimise worksheets 6
Excel 2003 (8316.8221) screen corruption 8
On Events 1
sheet event wait for another event? 6
games minimising to desktop 3

Back
Top