• Event to signal row or columns being added or dde (2000 – 2007)

    Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Event to signal row or columns being added or dde (2000 – 2007)

    • This topic has 2 replies, 3 voices, and was last updated 17 years ago.
    Author
    Topic
    #451686

    Is there a way to catch when a row or column is being added or deleted on a sheet? The Worksheet_Change event does get fired but I am not sure what property to look at to know that a row or column is being added or deleted.

    Viewing 1 reply thread
    Author
    Replies
    • #1112630

      As far as I know, inserting a row or column does not trigger any trappable events.

      If you had a calculation in a cell in the rightmost column and bottommost row that used the row() and column() functions, inserting/deleting columns would trigger a calculation and this could be trapped, but you would have to be specific in the code of what is being done and someone have the code “discover” what triggered the calculation…

      Steve

    • #1112632

      As Steve noted, there is no event that fires when the user inserts or deletes rows or columns, but you might get some ideas from Capture Deleted Rows on the Daily Dose of Excel site.

    Viewing 1 reply thread
    Reply To: Event to signal row or columns being added or dde (2000 – 2007)

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

    Your information: