Results 1 to 8 of 8

Excel Macro inserts row but does not insert next number in row.

Threaded View

  1. #1
    Registered User
    Join Date
    01-28-2010
    Location
    Denmark, Copenhagen
    MS-Off Ver
    Excel Vista
    Posts
    2

    Excel Macro inserts row but does not insert next number in row.

    G'Day everyone,

    I am trying to put a macro in a spreadsheet that will prompt the user to click the button and for the macro to insert a new row and add to the number above.

    i.e. insert a new row and number it numerically.


    So far...
    Sub Button7_Click()
    
    Rows("27:27").Select
    Selection.Insert Shift:=x1Down
    
    End Sub
    Thanks a million for any help.

    Cheers.
    Last edited by Man Help; 01-28-2010 at 11:01 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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