LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Hide workbook instantly on open


Is it possible to hide a workbook instantly when it opens?
I currently have

Set newBook = Workbooks.Open(fileName)
Windows(fileName).Visible = False

I also tried

Set newBook = Workbooks.Open(fileName)
With newBook
..Windows(fileName).Visible = False
End With

In both cases the workbook flashes on the screen for an instant.
That's clumsy. Is there a way to prevent that without saving the
workbook as hidden?

Thanks


--
TommySzalapski
------------------------------------------------------------------------
TommySzalapski's Profile: http://www.excelforum.com/member.php...o&userid=25561
View this thread: http://www.excelforum.com/showthread...hreadid=391021

 
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
Changing border colors instantly FARAZ QURESHI Excel Discussion (Misc queries) 3 August 14th 07 01:02 PM
Open and Hide a workbook MBum Excel Discussion (Misc queries) 1 July 11th 06 06:47 PM
HIDE Workbook whilst VBA Form Open Steve_Dyson[_2_] Excel Programming 0 November 18th 04 10:47 AM
HIDE Workbook whilst VBA Form Open Steve_Dyson Excel Programming 1 November 17th 04 02:34 PM
How to automaticaly hide all toolbars in in workbook when another workbooks are open? Igor Sudnik Excel Programming 1 August 18th 04 09:05 PM


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