Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 82
Default Macro to add rows and populate cells

Posting again since orignal may have been missed during the holiday break.

Any help with this would be welcomed and appreciated.

I have a list of products that is used to create an order. Some of the
products (not all) are complex and the vendor supplying the material breaks
certain items out into components when they invoice because the parts and
pieces ship at different times.

I need a macro that will:
1. Look for a keyword in the item number cell (always in the same column)
2. Add two rows below the item
3. Inherit values from the parent product (markings & quanity) and add new
description text.

Here is an example. (panelboard is one of a few products that will need the
same approach)

I have now:
Marking Qty Item Number
HLM 1 Panelboard, Type AE (101)
HLN 1 Panelboard, Type AE (101)
M1 1 Panelboard, Type AE (101)
M2 1 Panelboard, Type AE (101)
N5 1 Panelboard, Type AE (101)

Need to end up with:
Marking Qty Item Number
HLM 1 Panelboard, Type AE (101)
HLM 1 Back Box
HLM 1 Trim
HLN 1 Panelboard, Type AE (101)
HLN 1 Back Box
HLN 1 Trim
M1 1 Panelboard, Type AE (101)
M1 1 Back Box
M1 1 Trim
M2 1 Panelboard, Type AE (101)
M2 1 Back Box
M2 1 Trim
N5 1 Panelboard, Type AE (101)
N5 1 Back Box
N5 1 Trim


Thanks in advance!

Scott

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to populate data (repeating rows) uncreative Excel Discussion (Misc queries) 1 April 28th 08 07:45 PM
Populate Data In Rows EK Excel Discussion (Misc queries) 9 October 25th 07 07:42 AM
Populate Rows from worksheet Names. Trever B Excel Discussion (Misc queries) 2 May 15th 06 05:08 AM
Macro to add rows and populate cells based on critera Scott Wagner Excel Programming 0 December 23rd 05 03:57 PM
Newbie - populate (macro) GUI from Excel cells Bill Burke Excel Programming 2 April 3rd 04 07:30 AM


All times are GMT +1. The time now is 12:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"