Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have huge sheet with thousands of non-standard lines of text. Some of the
lines have the following line in a cell: ProjID=MFG-Company-DA-33 ProjType=BBAA Uplift=0 CostType=Time Mgr=Smith I would like to understand how to write the VBA that will skip the lines that don't match this format and then Break out the items that do. This is what I have so far. some sort of loop statement here If activecell.value (left(5))="projID" then ' this is where a need the help. I want to move everything after ProjID= to Type= to the next column then move everything after Type= to Uplift= to a column 2 columns away and so on for the rest of the line. else activecell.offset (-1,0) loop End if Thanks for the help. I would use text to columns, but only few of the cells follow the format listed above. Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I split contents of cell with no delimiter | Excel Discussion (Misc queries) | |||
Excel 2000 - Split Contents of Cell Across Multiple Cells | Excel Discussion (Misc queries) | |||
Split contents of a cell | Excel Worksheet Functions | |||
Can unmerged cell contents be split to another cell | Excel Worksheet Functions | |||
How to split the contents of a cell between two cells. | Excel Worksheet Functions |