Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro to concatenate or merge cells
Hi -
I am working on a macro that I need to concatenate multiple cells (I'm using the =A1&"_"&B1 formula). My problem is that the range of cells I need to merge is variable based on the data in a previous column. If cell A30 = X then add cell D30 to a concantenated list that has already been started; next if A31 = X then add cell D31 to the afore mentioned list, etc. etc. I can get the macro to evaluate the criteria but can it add a cell (D30) to a cell which already has an existing concatenated formula? ie. (=L2&" "&L3&" "&L4&" "&L5 + a new cell) Hope your not too confused. Thanks in advance for your help! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
MERGE ROW CELLS BY MACRO | Excel Programming | |||
Macro to concatenate previously selected cells | Excel Programming | |||
Macro Help: Concatenate Populated Cells in Column A | Excel Discussion (Misc queries) | |||
Concatenate and Mail Merge | Excel Worksheet Functions | |||
Merge cells using macro | Excel Programming |