Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Complicated macro needed (please)
I been searching all the excel forums hoping to find the proper macro
code to perform a function. I'm writing to the forum as I've hit a brick wall. I have a data sheet used for listing parts and storage locations. Individual Parts names are listed in column E. The cells in column E are links (not text). The storage locations (20 of them) are listed in columns W to AR. Not every Part uses all 20 storage locations. There is 500 rows listing the parts and their storage locations. Columns F to V also hold information that is not relevant to the macro. For example - sheet (Data) E (F to V) W X Y Z (etc to AR) Row 7 Item1 Isle1 Isle2 Isle6 Row 8 Item2 Isle8 Isle4 Isle5 (links) (Columns W to AR are text) I need a macro that starts in W7 in sheet (Data) and if it sees a value then copy that value into cell B7 in a sheet named "List". I then need it to copy the value (must be: Edit, Paste Special, Value) from (Data) E7 into "List" C7. The macro then looks in (Data) X7 and if it sees a value, copy that into the next row down into "List" (B8) and again copy (Data) E7 into "List" C8. If the macro does not see a value in (Data) Y7 it skips to Z7 checking every cell until AS7, copying information if found to the next line in "List", skipping to next cell if not found. After checking AR7 it moves down to the next row and looks in W8 for the first location of Item2 and repeats the above process - (copy W8 and E8 to next line in "List" if W8 is populated, skip to X8 if W8 is empty), following this pattern all the way down to (Data) AR507. The result I have been trying to end up with in "List" would look like this: Sheet "List" B C Isle1 Item1 Isle2 Item1 Isle6 Item1 Isle8 Item2 Isle4 Item2 Isle5 Item2 I have come to the conclusion that there is no way I can do this on my own. Thanks in advance for any help that is offered. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Complicated lookup/match formula help needed! | Excel Worksheet Functions | |||
Complicated formula help needed please | Excel Worksheet Functions | |||
Complicated formula or macro | Excel Discussion (Misc queries) | |||
HELP with complicated macro | Excel Discussion (Misc queries) | |||
How do I do this complicated macro??? | Excel Worksheet Functions |