+ Reply to Thread
Results 1 to 4 of 4

Inserting entire row on a specific permanent spot using macro

  1. #1
    Registered User
    Join Date
    08-20-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    3

    Inserting entire row on a specific permanent spot using macro

    Hi all,

    I want to create a macro where it will insert an entire row on the same spot regardless of which cell is selected. I'm new in VBA and only know how to record, but not write a macro.


    Please Login or Register  to view this content.
    I currently have this code. What I want to do is insert a new entire row on the second row. I want it to use the same format from the 3rd row. I basically have a manual form on sheet 1 where i would enter all the data and it would record the information on sheet 2. All data copied from sheet one should be entered in the new row.

    Hope you can help me. Thanks!
    Last edited by Cutter; 08-20-2012 at 09:28 PM. Reason: Added code tags

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Inserting entire row on a specific permanent spot using macro

    @ sphinx718

    Welcome to the forum.

    Please notice that code tags have been added to your post(s). The forum rules require them so please keep that in mind and add them yourself whenever showing code in any of your future posts. To see instructions for applying them, click on the Forum Rules button at top of the page and read Rule #3.
    Thanks.

  3. #3
    Registered User
    Join Date
    08-20-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Inserting entire row on a specific permanent spot using macro

    Understood. Thanks!

  4. #4
    Registered User
    Join Date
    08-20-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Inserting entire row on a specific permanent spot using macro

    I have attached the sample workbook I'm working on. I want to input all information under the invoice form tab and then export those information accordingly to the invoice database tab. I'm looking to insert the copied information on row 3, and put any succeeding entry above that. My problem is, I have to put the cursor back on row 3 to insert a new row. I was wondering if there's anyway where it automatically inserts a new row on row 3 even if another cell is actively selected.

    Any help is much appreciated.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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