Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / May 2008

Tip: Looking for answers? Try searching our database.

Are the Windows.Arrange ArrangeStyle:=xlHorizontal settings persistent?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Howard Kaikow - 04 May 2008 00:47 GMT
After  creating a workbook, when opened from the GUI, I am noticimg that the
window
is not properly arranged. In particular, I cannot see the tabs at the
bottom.
So I have do the arranging via the GUI, rather annoying.

So I added the following just before save of  the workbook.

.Windows.Arrange ArrangeStyle:=xlHorizontal

Thee setting does not hold when opening the workbook.
Anything else I need to set?
Howard Kaikow - 21 May 2008 07:51 GMT
> After  creating a workbook, when opened from the GUI, I am noticimg that the
> window
[quoted text clipped - 8 lines]
> Thee setting does not hold when opening the workbook.
> Anything else I need to set?

Hey Howard, try making the instance of Excel temporarily visible.
Howard Kaikow - 21 May 2008 07:59 GMT
> Hey Howard, try making the instance of Excel temporarily visible.

Thanx Howard, that works!

       With ExcelWbk
           appExcel.Visible = vbTrue
           .Windows.Arrange
           .Save
           appExcel.Visible = vbFalse
           .Saved = vbTrue
           .Close
       End With
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.