+ Reply to Thread
Results 1 to 7 of 7

Double Click to insert a new row doesn't work on all worksheets

  1. #1
    Registered User
    Join Date
    12-11-2019
    Location
    Appleton, WI
    MS-Off Ver
    2016
    Posts
    3

    Double Click to insert a new row doesn't work on all worksheets

    l discovered last year that when I double click on a cell in an excel worksheet, it adds a new row. I have learned to love this feature in 1 particular worksheet. I just discovered that this does not happen on most of my worksheets. (On most worksheets, when you double click a cell, it enables editing of that cell). I have a spreadsheet with many worksheets. 1 of the worksheets behaves with the double click to add a row feature, and most of the others behave the second way. I want to have another worksheet that behaves the first way (double clicking adds another row). When I copy my entire worksheet to a new worksheet, they still behave differently. I don't remember where I learned about the "double click to add a row" feature, but I felt like I was missing out for many years. Now, it seems to be impossible to find somebody to explain how that ever worked. I know I didn't write a macro or anything to get it. Can anybody explain? Any help would be greatly appreciated.

    I'm attaching a sample file. In worksheet "2018" double clicking only allows editing of a cell, but in worksheet "2019" double clicking creates a new row. I don't remember doing anything to get this to happen.
    Attached Files Attached Files
    Last edited by davesexcel; 12-12-2019 at 11:54 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    05-11-2013
    Location
    Wales
    MS-Off Ver
    Excel 2010
    Posts
    586

    Re: Double Click to insert a new row doesn't work on all worksheets

    Hi Pauly91,

    Wellcome to the Forum.

    One way is to convert your Range to a Table.
    In the first empty cell in Col. A below the table type something in and hit enter.
    A new "row" appears and any formulas (and formatting) in the "above" row will automatically be copied into the new row.

    Is this what you are after?

    Regards

    peterrc

  3. #3
    Registered User
    Join Date
    12-11-2019
    Location
    Appleton, WI
    MS-Off Ver
    2016
    Posts
    3

    Re: Double Click to insert a new row doesn't work on all worksheets

    I'm not sure I understand how to convert Range to a Table. Can the whole worksheet be a table? Can you tell from attachment in previous reply if "2019" was made into a table? Thank you for your help.

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,480

    Re: Double Click to insert a new row doesn't work on all worksheets

    As suspected, you have a code in the worksheet 2019.

    Right sheet the sheet tab and select view code to see the before double click code.

    Copy and paste that exact same code into 2018 tab module
    -


    RightClick tab.jpg

  5. #5
    Registered User
    Join Date
    12-11-2019
    Location
    Appleton, WI
    MS-Off Ver
    2016
    Posts
    3

    Re: Double Click to insert a new row doesn't work on all worksheets

    Thank you so much!!! I figured it was a simple solution, but I could not figure it out. Do you have any idea how this code got there? I am not capable of writing that. I am the only one who ever used that spreadsheet. I don't know if something would have happened when I converted Excel 2003 to 2016, but why did it only make the changes to 1 worksheet in that spreadsheet? (I had about 10 worksheets in that spreadsheet). Thanks again!

  6. #6
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,480

    Re: Double Click to insert a new row doesn't work on all worksheets

    If there were no codes, you would not have had to save the workbook as .xlsm

    The code says "udpatedby extend office" possibly you were experimenting with code on websites, I think they are also involved with Kutools.

    Doesn't really matter whose name is on the code, it's just how you insert a row using the worksheet_beforedoubleclick event.

  7. #7
    Valued Forum Contributor
    Join Date
    05-11-2013
    Location
    Wales
    MS-Off Ver
    Excel 2010
    Posts
    586

    Re: Double Click to insert a new row doesn't work on all worksheets

    Hi Pauly91,

    Highlight all the cells in the range and click "insert Table" in the ribbon.
    (If you already have a "spreadsheet" click control + A and excel will automatically include all the contiguous cells).
    The first table you create will default to Table1 - look in name manager.
    Very useful in formulas as you refer to a Table instead of a Range e.g. A2:G3600
    As you add new rows and columns they will automatically be included in the Table.

    Hope this helps.

    Regards

    peterrc

+ 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. Help: Drill down (double click) doesn't work at all in PowerPivot Table
    By makro-fragen in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 09-13-2019, 03:39 AM
  2. [SOLVED] Double Click to Insert New Row - Please Help!!!
    By JohnHIII in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-17-2013, 05:09 PM
  3. double click row to insert new row
    By SurferBobInHb in forum Excel General
    Replies: 3
    Last Post: 03-25-2009, 04:47 PM
  4. Double clicking xls doesn't work
    By GA in forum Excel General
    Replies: 3
    Last Post: 06-16-2006, 04:15 PM
  5. double click excel file doesn't open it
    By kman in forum Excel General
    Replies: 2
    Last Post: 11-26-2005, 12:42 PM
  6. Why Excel file doesn't open by double click.
    By Siraj in forum Excel General
    Replies: 1
    Last Post: 02-06-2005, 10:06 AM
  7. sum doesn't update total without double-click of cell
    By David E. Gross in forum Excel General
    Replies: 1
    Last Post: 02-04-2005, 09:06 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