In suppot of this thread
https://excelfox.com/forum/showthrea...5292#post15292
Input data
_____ Workbook: VBA3.xls ( Using Excel 2007 32 bit )
Worksheet: inputA
Row\Col A B C D E F 1Find word 1Abc 2wer# 3smar 4chris 2AP1k AP1k, 6-9| AP1k, 10-13 3ForCome ForCome, 13-19 4 5Double Double, 14-16 | Double, 14-16| Double, 14-16 Double, 14-16| Double, 14-16 Double, 14-16| Double, 14-16
Wanted Output
_____ Workbook: VBA3.xls ( Using Excel 2007 32 bit )
Worksheet: OutputB
Row\Col A B 1Output 21Abc 32wer# AP1k, 6-9 42wer# AP1k, 10-13 52wer# Double, 14-16 62wer# Double, 14-16 72wer# Double, 14-16 83smar ForCome, 13-19 93smar Double, 14-16 103smar Double, 14-16 114chris Double, 14-16 124chris Double, 14-16
Results after running macro in next post
_____ Workbook: VBA3.xls ( Using Excel 2007 32 bit )
Worksheet: Output
Row\Col A B 1 21Abc 32wer# AP1k, 6-9 42wer# AP1k, 10-13 52wer# Double, 14-16 62wer# Double, 14-16 72wer# Double, 14-16 83smar ForCome, 13-19 93smar Double, 14-16 103smar Double, 14-16 114chris Double, 14-16 124chris Double, 14-16




Reply With Quote
Bookmarks