ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to keep a workbook visible (https://www.excelbanter.com/excel-programming/322156-how-keep-workbook-visible.html)

Jeff

How to keep a workbook visible
 
I have a workbook that I'd like to be set to stay visible even if
programatically its tolde to hide. Is that possible?

Tom Ogilvy

How to keep a workbook visible
 
There is no visibility event, so I wouldn't think so.

You could possibly use some other event to periodically set its visible
attribute to true.

Chip Pearson's page on Events
http://www.cpearson.com/excel/events.htm
on Application Level events
http://www.cpearson.com/excel/appevent.htm


--
Regards,
Tom Ogilvy



"Jeff" wrote in message
...
I have a workbook that I'd like to be set to stay visible even if
programatically its tolde to hide. Is that possible?




Don Guillett[_4_]

How to keep a workbook visible
 
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??

--
Don Guillett
SalesAid Software

"Jeff" wrote in message
...
I have a workbook that I'd like to be set to stay visible even if
programatically its tolde to hide. Is that possible?




keepITcool

How to keep a workbook visible
 
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 :

I have a workbook that I'd like to be set to stay visible even if
programatically its tolde to hide. Is that possible?



All times are GMT +1. The time now is 09:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com