Excel VBA - Search column for text in a String, Copy text into adjacent cells down -
i'm attempting simplify excel sheet work on weekly basis, vba improving problem has stumped me. i'm trying create vba macro following:
1 - search column b text "associate", when found want copy entire cell contents adjacent column filling down data related..aghh???
essentially want 1 table rows have complete information, can pivot etc. please see screenshots of before , after.
that small sample of data have 3 people, have 100 people , cant carry on doing manually driving me bonkers.
any advice or appreciated, have no idea start problem.
thanks
untested:
dim c range, each c in range(range("b1"),cells(rows.count,2).end(xlup)) if c.value "associate:*" = c.value else if c.value<>"" c.offset(0,-1).value=a end if next c
Comments
Post a Comment