I have cells with multiple lines separated by carriage returns (by Alt-Enter in the cell).
I'm looking for a way to distinguish each line in VBA ... so I need to be able to cut out just the 2nd or 3rd line in that cell (and to know how many lines there were).
What would be the best way to do that? I'd prefer it to be done completely in VBA (as opposed to something like text-to-columns in the spreadsheet).
I'm looking for a way to distinguish each line in VBA ... so I need to be able to cut out just the 2nd or 3rd line in that cell (and to know how many lines there were).
What would be the best way to do that? I'd prefer it to be done completely in VBA (as opposed to something like text-to-columns in the spreadsheet).