+ Reply to Thread
Results 1 to 4 of 4

Double click zoom, unzoom

  1. #1
    Registered User
    Join Date
    04-30-2015
    Location
    Oregon, USA
    MS-Off Ver
    2010
    Posts
    50

    Lightbulb Double click zoom, unzoom

    Hi,
    I would like to be able to double click a cell, and have the selected cell move to A of that row
    (ex: double click cell C27, moves selection to A27)
    and, Cause the worksheet to zoom to view Columns A:D
    And when anything is double clicked again, it will zoom out to view columns A:G
    Any help is appreciated as always.

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Double click zoom, unzoom

    You'd have to configure the zoom % yourself to meet your needs, as your Column and Row width and height could be just about anything.

    This code goes directly on the worksheet you apply it to, by right clicking the tab and choosing View Code.

    Please Login or Register  to view this content.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Registered User
    Join Date
    04-30-2015
    Location
    Oregon, USA
    MS-Off Ver
    2010
    Posts
    50

    Re: Double click zoom, unzoom

    I modified it a bit so that I could have the results that I wanted from the zoom, But..
    When I zoom, it brings me back to A7, and I want my selection to stay on the row of the cell that I double clicked so that I don't lose my place while zooming in..
    Thanks for the help!

    Heres what i ended up with, Zoom works great (thank you)
    Please Login or Register  to view this content.

  4. #4
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Double click zoom, unzoom

    You can capture the ActiveCell.Row for the targeting.

    Please Login or Register  to view this content.

+ 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. Double click cell - copy data to new sheet - create a list from double clicking
    By kakky in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-04-2015, 11:14 PM
  2. [SOLVED] Add 1 to target on double click, add 0.5 on shift + double click
    By MarmaladeLover in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-26-2015, 06:59 AM
  3. [SOLVED] Before double click event with if statements (Double clicking blank cell stops bdc firing)
    By camdenpars in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-27-2014, 09:03 AM
  4. Changing cell properties with double click, then revert with another double click
    By mweber2525 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 03-01-2014, 01:40 PM
  5. Copy double-clicked cell to next empty row in different sheet with each double-click
    By erhathaway in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-25-2013, 12: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