+ Reply to Thread
Results 1 to 2 of 2

How to Get Print Scaling (Zoom) factor

  1. #1
    Registered User
    Join Date
    01-04-2011
    Location
    West Yorks, England
    MS-Off Ver
    Excel 2003
    Posts
    9

    How to Get Print Scaling (Zoom) factor

    I have been trying to adapt some code to get the print scaling/zoom factor from an existing worksheet named "48mm Classic Partition" that is normally hidden and part of a protected workbook and then using this to apply to a second worksheet (eg "AnotherSheet").
    Please Login or Register  to view this content.
    It gets stuck though after unhiding the 48mm worksheet and starting the PrintPreview (although its not clear exactly when) - then it will not continue unless I go into the VBA editor (eg by clicking on the VBA Editor Task Bar Tab) - when pressing Esc allows it continue. Any ideas?

  2. #2
    Registered User
    Join Date
    10-21-2023
    Location
    Shippensburg, PA
    MS-Off Ver
    Office 2021
    Posts
    3

    Re: How to Get Print Scaling (Zoom) factor

    OldPrintScale = ActiveSheet.PageSetup.Zoom
    LockWindowUpdate 0
    Sheets("AnotherSheet").Activate
    ActiveSheet.PageSetup.Zoom = OldPrintScale
    I'm new to VBA but that looks like a circular reference

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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