Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Eyta
 
Posts: n/a
Default How can I set the screen size to always display @ 110%- a default

How can I set the default in excel so that when I open the program the view
is always at 110%?
Thanks
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

Saved from a previous post...

Create a new workbook.
Add this code to the ThisWorkbook module (hi, Bob!):

Option Explicit
Public WithEvents xlApp As Application
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Set xlApp = Nothing
End Sub
Private Sub Workbook_Open()
Set xlApp = Excel.Application
End Sub
Private Sub xlApp_NewWorkbook(ByVal Wb As Workbook)
Call DoTheWork(Wb)
End Sub
Private Sub xlApp_SheetActivate(ByVal Sh As Object)
Call DoTheWork(Sh.Parent)
End Sub
Private Sub xlApp_WorkbookOpen(ByVal Wb As Workbook)
Call DoTheWork(Wb)
End Sub
Private Sub DoTheWork(Wb As Workbook)
Dim myWindow As Window
For Each myWindow In Wb.Windows
myWindow.Zoom = 110
Next myWindow
End Sub

Save this file as an addin in your XLStart folder.

Each time you create a new workbook, open an existing workbook, change to a new
sheet, it'll set the zoom to 75%.

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

You can read a lot more about application events at Chip Pearson's site:
http://www.cpearson.com/excel/AppEvent.htm

Eyta wrote:

How can I set the default in excel so that when I open the program the view
is always at 110%?
Thanks


--

Dave Peterson
  #3   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Check out the archives:

http://groups.google.com/advanced_gr...ugroup=*excel*

Specifically:

http://groups-beta.google.com/group/...setup/browse_f
rm/thread/9404677ace70ecab/bd303257e8605c1e


In article ,
"Eyta" wrote:

How can I set the default in excel so that when I open the program the view
is always at 110%?
Thanks

Reply
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
Worksheet won't display full screen Timbo New Users to Excel 1 April 24th 05 02:22 AM
How do i make my picture size display in inches rather than cms? Grouge New Users to Excel 1 March 2nd 05 08:42 PM
Customize page size puzzled Setting up and Configuration of Excel 0 February 18th 05 05:41 AM
Conditional display of a .jpeg file? sbhogle Excel Discussion (Misc queries) 2 November 30th 04 05:57 AM
Combine & Display “Fixed” & “Automatically Updated” Date Parts texcel Excel Worksheet Functions 1 November 1st 04 05:38 PM


All times are GMT +1. The time now is 12:36 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"