+ Reply to Thread
Results 1 to 1 of 1

On Selection Zoom out and select B1:S10 copy

  1. #1
    Registered User
    Join Date
    02-04-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    19

    On Selection Zoom out and select B1:S10 copy

    Hi I currently have the following code that when I click on a pulldown menu it zooms in then when you clicks of zooms out.

    What I want is to still zoom in but once I click on selection it zooms out and selects range B1:s10 and copys the selection.

    I'm not sure if its possible to zoom out and the rest on selection, so the other option is once item is selected from the pulldown and clicked on another cell to zoom out (like it does now) then select the range and copy.

    Thanks for the help.

    Private Sub Worksheet_SelectionChange(ByVal Target As Range)


    On Error GoTo LZoom
    Dim xZoom As Long
    xZoom = 73

    If Target.Validation.Type = xlValidateList Then xZoom = 130

    LZoom:
    ActiveWindow.Zoom = xZoom

    End Sub
    Last edited by polska21800; 11-21-2018 at 01:05 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. Zoom to selection issue
    By Admaine in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-27-2016, 04:13 AM
  2. [SOLVED] Copy Data Range & Paste at Selection.End(xlDown).Select
    By batchy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-07-2014, 06:15 AM
  3. [SOLVED] Range(Selection, Selection.End(xlDown)).Select goes to 65536 instead of last filled row
    By looney in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-12-2013, 10:51 AM
  4. Zoom to selection issues
    By adste89 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-02-2012, 08:14 AM
  5. Zoom to selection based on sheet
    By adste89 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-01-2012, 10:34 AM
  6. Globally Automate View/Zoom/Fit selection
    By clearwaterdave in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-31-2011, 09:02 PM
  7. [SOLVED] Is it possible to Select Data on a Graph/Zoom to it in the Spreads
    By Justin in forum Excel General
    Replies: 2
    Last Post: 05-04-2005, 11:06 AM

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