• Inserting row/column (Excel Windows 2000)

    Home » Forums » AskWoody support » Productivity software by function » Visual Basic for Applications » Inserting row/column (Excel Windows 2000)

    Author
    Topic
    #433524

    Could some remind me what the command is to insert a row or a column into a spreadsheet. Thanks.

    Farmer

    Viewing 0 reply threads
    Author
    Replies
    • #1019925

      To insert a new row 10 (and push existing data down):

      Rows(“10:10”).Insert

      To insert a new column F (and push existing data to the right):

      Columns(“F:F”).Insert

      • #1019928

        Thanks for that. Suppose. I just want to insert one extra row when sitting in an empty cell, say I’m in cell A56 and want to insert an extra row there. Thanks.

        F

        • #1019931

          If you want to insert a row at the currently active cell, use

          ActiveCell.EntireRow.Insert

          Simiularly, use EntireColumn if you want to insert a column.

    Viewing 0 reply threads
    Reply To: Inserting row/column (Excel Windows 2000)

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

    Your information: