Endeavouring
Board Regular
- Joined
- Jun 30, 2010
- Messages
- 115
Hi
I have a column of data that has in each cell multiline entries with each line broken with a line feed char(10).
<TABLE style="WIDTH: 48pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=64><COLGROUP><COL style="WIDTH: 48pt" width=64><TBODY><TR style="HEIGHT: 38.25pt" height=51><TD style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; WIDTH: 48pt; HEIGHT: 38.25pt; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0" class=xl63 height=51 width=64>line1
line 2
line3</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; HEIGHT: 12.75pt; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0" height=17></TD></TR></TBODY></TABLE>
I want to select the column and run the VBA so as every time it encounters a line feed, it insert a new row. So in the example data, it would end up with the data split into three rows (line 1 in original cell, lines 2&3 in new cells beneath original cell.
Is it possible, I don't know where to start so any help would be appreciated.
I have a column of data that has in each cell multiline entries with each line broken with a line feed char(10).
<TABLE style="WIDTH: 48pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=64><COLGROUP><COL style="WIDTH: 48pt" width=64><TBODY><TR style="HEIGHT: 38.25pt" height=51><TD style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; WIDTH: 48pt; HEIGHT: 38.25pt; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0" class=xl63 height=51 width=64>line1
line 2
line3</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; HEIGHT: 12.75pt; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0" height=17></TD></TR></TBODY></TABLE>
I want to select the column and run the VBA so as every time it encounters a line feed, it insert a new row. So in the example data, it would end up with the data split into three rows (line 1 in original cell, lines 2&3 in new cells beneath original cell.
Is it possible, I don't know where to start so any help would be appreciated.