Home |
Search |
Today's Posts |
#8
![]() |
|||
|
|||
![]() Thank you, yes, every new section starts with ======PDI, and the columns you mentioned are what I'm seeking. In actuality, the original raw text starts with from 10 to 50 (varying) lines of info-text that lead up to the first "======PDI". As an aside, I wrote the following macro to delete those lines. ______________________________ Public Sub deleterows() ' deletes the headers leading up to the first =====PDI===== Dim selection As range Set selection = Cells.Find(what:="PDI", lookat:=xlPart) range("a1").EntireRow.Select Do Until ActiveCell.Value = selection ActiveCell.EntireRow.Delete Loop End Sub __________________________________ -- AwkSed2Excel ------------------------------------------------------------------------ AwkSed2Excel's Profile: http://www.excelforum.com/member.php...o&userid=23464 View this thread: http://www.excelforum.com/showthread...hreadid=374110 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Insert rows based on specific value | Excel Worksheet Functions | |||
Hiding Rows if the linked rows are blank | Excel Discussion (Misc queries) | |||
Dynamic charting problems (events) | Charts and Charting in Excel | |||
Adding Rows to Master Sheet | New Users to Excel | |||
Dynamic number of ROWS | Excel Worksheet Functions |