+ Reply to Thread
Results 1 to 3 of 3

Getting all sheets in an Excel 2010 workbook to open with a set percentage zoom

  1. #1
    Registered User
    Join Date
    09-09-2013
    Location
    Louth, England
    MS-Off Ver
    Excel 2010
    Posts
    5

    Getting all sheets in an Excel 2010 workbook to open with a set percentage zoom

    Can anyone please tell me how I get all worksheets in a workbook to open with a set zoom so that I can see all the information on one screen without scrolling.

    thanks

    David

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Getting all sheets in an Excel 2010 workbook to open with a set percentage zoom

    Hi, Daavid,

    I never felt happy when my data is quenched in on 10% zoom.

    Please Login or Register  to view this content.
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Forum Contributor
    Join Date
    05-08-2013
    Location
    California
    MS-Off Ver
    Excel 2013
    Posts
    102

    Re: Getting all sheets in an Excel 2010 workbook to open with a set percentage zoom

    stdm11,

    HaHoBe's code definitely works and should solve your problem elegantly. The only two minor changes I would make to it are the following:

    [1] Place the code in the ThisWorkbook object (which you can see in the navigation pane of your Visual Basic Editor) instead of having the code in a module. In your Visual Basic Editor, simply double click ThisWorkbook to open it.

    [2] Change the "Sub EF953851()" line in the above code to "Sub Workbook_Open()". This way, you have the desired zoom each and every time you open the spreadsheet. You are taking advantage of the workbook's open event.

    ____________________________________
    1. If this answer helped, please click the star to the left of this reply.
    2. If this answer solved your problem, please mark this thread as [SOLVED].
    Last edited by Dimitrov; 09-10-2013 at 11:03 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Zoom on workbook open
    By Adrian692 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-05-2013, 04:21 PM
  2. [SOLVED] Change Workbook Open event Zoom via VBA
    By coreytroy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-19-2012, 08:58 PM
  3. Quirky Excel 2010 behavior when multiple sheets open
    By alexisb in forum Excel General
    Replies: 0
    Last Post: 07-15-2011, 12:31 PM
  4. [SOLVED] setting all sheets in workbook to same zoom level?
    By Don Wiss in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-11-2006, 07:05 PM
  5. [SOLVED] Can a macro be written that when you open a workbook the zoom will be set for each sheet?
    By Marc in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-05-2006, 09:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1