Excel 365 - cannot select a row or column for delete

Anonymous
2020-03-05T15:24:25+00:00

I am using Excel 365 ProPlus (version 2002 Build 12527.20242 Click-to-Run).

If I select an entire row(s) or column(s) and right-click, the Delete option is grayed out.

I can select a cell, right-click and select the Delete option there, then get a Delete dialog box to delete entire row or entire column, but that is a workaround.

If I run Excel in safe mode, entire row or column right-click, Delete, does work successfully.

I have tried turning off all add-ins and extensions, but entire row or column right-click, Delete, is still grayed out.

I have also run the online repair, but after that Delete is still grayed out.

This is a problem for all files - old or newly created.

Screenshot:

Thanks in advance - Robert

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Anonymous
    2020-03-05T15:49:52+00:00

    Hi Robert,

    Sorry for the trouble caused at your end.

    As per your description, we understand that you’re not able to delete column because of grayed out when you right-click on it. So, we have tested in the same version and can’t reproduce the problem at our end and as you already tried Online repairing the Office application with no success, the other suggestions you can try are:

    a. Change the Excel15.xlb to Excel15.old

    Close the Excel application> Open the File Explorer> Go to following path “C:\Users\username\AppData\Roaming\Microsoft\Excel”> Rename the Excel15.xlb to Excel15.old> Restart your PC and open the Excel application.

    Note: Change the username with your device name.

    b. If it doesn’t work, you need to rename or delete the Excel options in the Registry Editor and restart your PC.

    Close the Excel application> Open the Registry Editor> Go to “Computer\HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Excel”> Rename or Delete the Options folder> Restart your PC> Open the Excel application.

    Note: Before renaming or deleting, make sure you back up it.

    In addition, we would like you provide the simple workaround that can be easy for you to delete the columns in Excel worksheet, follow the below steps:

    Open the Excel application> File> Options> Quick Access Toolbar> Choose All commands> Scroll to Delete Sheet Columns and select it> Click on Add> OK

    Now this shortcut will be added to your Quick Access Toolbar, where you can delete the column by one click.

    Please share the updates for moving further.

    Appreciate your understanding.

    Best Regards,

    Chitrahaas

    4 people found this answer helpful.
    0 comments No comments

4 additional answers

Sort by: Most helpful
  1. Andreas Killer 144K Reputation points Volunteer Moderator
    2020-03-05T15:45:29+00:00

    Run the code below once.

    Andreas.

    Sub Test()

      Dim Item

      For Each Item In Array("Cell", "Row", "Column", "Ply")

        CommandBars(Item).Reset

      Next

    End Sub

    3 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2020-03-05T15:59:56+00:00

    Thank you Andreas - that worked, but does that mean I have to macro enable every spreadsheet I create and run this to get Delete to work?

    I will use the rename .xlb files suggested by Chitrahaas as my solution.

    Robert

    0 comments No comments
  3. Anonymous
    2020-03-05T16:17:58+00:00

    Chitrahaas - 

    Renaming Excel15.xlb (and several other .xlb files in the Excel roaming folder) & rebooting seems to have fixed the problem.

    Thanks very much!

    Robert

    0 comments No comments
  4. Andreas Killer 144K Reputation points Volunteer Moderator
    2020-03-05T18:20:00+00:00

    Thank you Andreas - that worked, but does that mean I have to macro enable every spreadsheet I create and run this to get Delete to work?

    Hi Robert,

    No. You have  to run the code only once and it doesn't matter in what kind of workbook.

    The XLSM or XLSB files are just to preserve the code when you close and reopen the file. No need for that in this case.

    Andreas.

    0 comments No comments