• Event handling – column deletion (Excel 2000/2003)

    Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Event handling – column deletion (Excel 2000/2003)

    Author
    Topic
    #443519

    Is there an event (hopefully cancellable) that fires when someone deletes (or inserts) a column in a worksheet?

    I need to stop someone mucking up a macro I have that expects columns in the order I have set them, but I can’t impose full-blown protection on the structure since I need to allow the user to make various other changes in the file!

    Viewing 0 reply threads
    Author
    Replies
    • #1070028

      The Worksheet_Change event occurs when the user inserts or deletes a column, but it fires after the action has been completed, without an indication of what happened.

      In Excel 2002 and later, you can specify in detail what you want to allow/forbid in the Protect Sheet dialog – you could allow everything except Insert columns and Delete columns. Excel 2000, however, doesn’t have this detailed dialog.

    Viewing 0 reply threads
    Reply To: Event handling – column deletion (Excel 2000/2003)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: