+ Reply to Thread
Results 1 to 4 of 4

Double Click to Expand Row to Specific Amount

  1. #1
    Forum Contributor
    Join Date
    05-01-2018
    Location
    Maine
    MS-Off Ver
    2010
    Posts
    114

    Double Click to Expand Row to Specific Amount

    Hello,

    I am not even sure if this is possible but I am looking for a VBA code that will automatically resize the active row to 400 with a double click. Then if double clicked again it would go back to the default size.

    I have data that is linked to another sheet and the text that is linked can sometimes be a paragraph or two long. It would be helpful if we could just double click and resize the row to a specific amount, as autofit does not work for the linked data properly. Is it possible to do that for the entire sheet no matter what row is double clicked? We will not be using the double click for anything else.

    Thank you in advance for any assistance.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Double Click to Expand Row to Specific Amount

    Right Click on the sheet name at the bottom of excel and select view code.

    Paste this code into the module that opens and close it.

    Please Login or Register  to view this content.
    Last edited by mehmetcik; 06-04-2021 at 04:50 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Forum Contributor
    Join Date
    05-01-2018
    Location
    Maine
    MS-Off Ver
    2010
    Posts
    114

    Re: Double Click to Expand Row to Specific Amount

    Thank you so much. That done exactly what I was needing.

  4. #4
    Registered User
    Join Date
    08-17-2012
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Double Click to Expand Row to Specific Amount

    I've just copied that for myself . I was doing it manually !

+ 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. Copy and double click and paste in a specific cell
    By sonican in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-22-2016, 03:24 PM
  2. Double-click to add comments (specific column only)
    By mshu4 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-19-2015, 10:02 AM
  3. Copy / paste contents of specific cell on double-click
    By conger in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 05-22-2015, 08:29 AM
  4. Double click event a specific range
    By kmakjop in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-13-2015, 04:35 PM
  5. Auto expand row upon double click event
    By Shamz41 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-24-2015, 06:17 AM
  6. 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
  7. Auto Expand Cell - Double Click
    By curtjer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-06-2012, 01:19 PM

Tags for this Thread

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