How to keep a workbook visible

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

Guest

I have a workbook that I'd like to be set to stay visible even if
programatically its tolde to hide. Is that possible?
 
You could delete/comment out the part of the macro that hides it. Or, have
another macro to make it visible after the 1st macro hides it.
This is curious??
 
Jeff

if application.enableevents is not set to false somewhere
...then I think following eventhandler in ThisWorkbook would solve it.

Private Sub Workbook_WindowDeactivate(ByVal Wn As Window)
Wn.Visible = True
End Sub

hth


--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Jeff wrote :
 

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

Back
Top