+ Reply to Thread
Results 1 to 6 of 6

Macros to insert new rows and populate the cell values according to ID

  1. #1
    Registered User
    Join Date
    04-16-2013
    Location
    City
    MS-Off Ver
    2010
    Posts
    13

    Macros to insert new rows and populate the cell values according to ID

    Hello everyone,

    I am sure many of you came across this problem before. But I could not find the thread. if you find it or have a solution please let me know.
    I have two sheets
    Input data and output data.

    I want to look up "ID" from output sheet and insert rows and populate/copy the task, details A and Details B from input data sheet to output data sheet.

    Macros should Look Up the ID and insert rows and copy the data.

    Hope this makes sense
    Attached Files Attached Files
    Last edited by Simar; 05-26-2016 at 12:16 PM.

  2. #2
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Macros to insert new rows and populate the cell values according to ID

    There seemed to be some inconsistency in your "results" sheet, but try the following and see if it does what you're looking for:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    04-16-2013
    Location
    City
    MS-Off Ver
    2010
    Posts
    13

    Re: Macros to insert new rows and populate the cell values according to ID

    Hello Cantosh

    Thanks for replying. Code gives me "subscript out of range" error. Cant seem to find at which line

  4. #4
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Macros to insert new rows and populate the cell values according to ID

    Here's the workbook I'm looking at, maybe that'll help?
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    04-16-2013
    Location
    City
    MS-Off Ver
    2010
    Posts
    13

    Re: Macros to insert new rows and populate the cell values according to ID

    With Little tweaks, That worked like a charm. Thank you so much!!

  6. #6
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Macros to insert new rows and populate the cell values according to ID

    My pleasure, glad I could help!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Macro to insert specific number of rows, populate rows with data above except date
    By Melissa Camp in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-08-2015, 03:59 PM
  2. [SOLVED] Insert 2 rows where based on cell values
    By Penn in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-05-2014, 12:32 AM
  3. [SOLVED] VBA to add up Total # or rows to populate Destination sheet and insert More Rows if needed
    By bdouglas1011 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-29-2014, 08:44 PM
  4. [SOLVED] Copy rows and populate with split cell values
    By Niclal in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 02-07-2014, 04:06 PM
  5. I need to insert rows using macros, based on rows values. Please Help!
    By reservoirimgaging in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-19-2013, 02:13 PM
  6. [SOLVED] Copy/populate rows based on variable cell values
    By matchooo in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-30-2013, 09:49 PM
  7. [SOLVED] How to separate cell values and insert into new rows
    By dj7616 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-22-2013, 09:10 PM

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