WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Change Magnification default global setting

 
   Home -> Office -> Setup RSS
Next:  How do I change the default log file location?  
Author Message
Steve

External


Since: Apr 20, 2006
Posts: 756



(Msg. 1) Posted: Tue Nov 18, 2008 5:55 am
Post subject: Change Magnification default global setting
Archived from groups: microsoft>public>excel>setup (more info?)

I work with large spreadsheets. Every time I open a sheet, it opens at 100%
and I then have to reduce it to the 75% setting. 75% is my normal viewing
setting every day. Is there a way to set a gobal setting default of some
kind so when I open a spreadsheet it will always open at the 75%
magnification level.
Thanks,
Steve
Back to top
Login to vote
Steve

External


Since: Apr 20, 2006
Posts: 756



(Msg. 2) Posted: Tue Nov 18, 2008 5:58 am
Post subject: RE: Change Magnification default global setting [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Oops, for Excel 2003
Steve

"Steve" wrote:

> I work with large spreadsheets. Every time I open a sheet, it opens at 100%
> and I then have to reduce it to the 75% setting. 75% is my normal viewing
> setting every day. Is there a way to set a gobal setting default of some
> kind so when I open a spreadsheet it will always open at the 75%
> magnification level.
> Thanks,
> Steve
Back to top
Login to vote
Dave Peterson

External


Since: Jul 08, 2005
Posts: 9018



(Msg. 3) Posted: Tue Nov 18, 2008 12:00 pm
Post subject: Re: Change Magnification default global setting [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Saved from a previous post:

For brand new workbooks, you could create a book.xlt workbook template (stored
in your XLStart folder) that has each window the way you want.

If you want existing workbooks, then ...

Create a new workbook.
Add this code to the ThisWorkbook module:

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 = 75
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:

Debra Dalgleish has some notes how to implement macros here:
http://www.contextures.com/xlvba01.html

David McRitchie has an intro to macros:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Ron de Bruin's intro to macros:
http://www.rondebruin.nl/code.htm

(General, Regular and Standard modules all describe the same thing.)

Steve wrote:
>
> I work with large spreadsheets. Every time I open a sheet, it opens at 100%
> and I then have to reduce it to the 75% setting. 75% is my normal viewing
> setting every day. Is there a way to set a gobal setting default of some
> kind so when I open a spreadsheet it will always open at the 75%
> magnification level.
> Thanks,
> Steve

--

Dave Peterson
Back to top
Login to vote
Steve

External


Since: Apr 20, 2006
Posts: 756



(Msg. 4) Posted: Tue Nov 18, 2008 12:39 pm
Post subject: Re: Change Magnification default global setting [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

WOW, works great, many thanks...

Steve

"Dave Peterson" wrote:

> Saved from a previous post:
>
> For brand new workbooks, you could create a book.xlt workbook template (stored
> in your XLStart folder) that has each window the way you want.
>
> If you want existing workbooks, then ...
>
> Create a new workbook.
> Add this code to the ThisWorkbook module:
>
> 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 = 75
> 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:
>
> Debra Dalgleish has some notes how to implement macros here:
> http://www.contextures.com/xlvba01.html
>
> David McRitchie has an intro to macros:
> http://www.mvps.org/dmcritchie/excel/getstarted.htm
>
> Ron de Bruin's intro to macros:
> http://www.rondebruin.nl/code.htm
>
> (General, Regular and Standard modules all describe the same thing.)
>
> Steve wrote:
> >
> > I work with large spreadsheets. Every time I open a sheet, it opens at 100%
> > and I then have to reduce it to the 75% setting. 75% is my normal viewing
> > setting every day. Is there a way to set a gobal setting default of some
> > kind so when I open a spreadsheet it will always open at the 75%
> > magnification level.
> > Thanks,
> > Steve
>
> --
>
> Dave Peterson
>
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Setup All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET