Hello,
am trying to convert an excel file to HTML. I have a few 100s of rows.
In D2, I have : ="<tr><td>"&A2&"</td><td>"&B2&"</td><td>"&C2&"</td></tr>".
To keep the line break, I need to use the <br> tag. So final results should be : <tr><td>1</td><td>Destadine Syrup</td><td>Each ml contains:<br>Desloratadine BP …….. 0.5 mg<br>In a flavoured syrup base</td></tr>
Note
(i) that there is no <br> after syrup base.
(ii) the cell C3 contains a blank line at the end
Replacing "CTRL-J" by <br> (in the column which contains the above formula) would simply add <br> in every cells so the result will be :
<tr><td>1<br></td><td>Destadine Syrup<br></td><td>Each ml contains:<br>Desloratadine BP …….. 0.5 mg<br>In a flavoured syrup base<br></td></tr>
Thanks for any recommendation here..
am trying to convert an excel file to HTML. I have a few 100s of rows.
Serial No. | Name | Composition |
1 | Destadine Syrup | Each ml contains: Desratadine BP …….. 0.5 mg In a flavoured syrup base |
2 | Chlorphamine | Each ml contains: Frech BP …….. 0.5 mg In a flavoured syrup base |
In D2, I have : ="<tr><td>"&A2&"</td><td>"&B2&"</td><td>"&C2&"</td></tr>".
To keep the line break, I need to use the <br> tag. So final results should be : <tr><td>1</td><td>Destadine Syrup</td><td>Each ml contains:<br>Desloratadine BP …….. 0.5 mg<br>In a flavoured syrup base</td></tr>
Note
(i) that there is no <br> after syrup base.
(ii) the cell C3 contains a blank line at the end
Replacing "CTRL-J" by <br> (in the column which contains the above formula) would simply add <br> in every cells so the result will be :
<tr><td>1<br></td><td>Destadine Syrup<br></td><td>Each ml contains:<br>Desloratadine BP …….. 0.5 mg<br>In a flavoured syrup base<br></td></tr>
Thanks for any recommendation here..