Thanks for the reply from both of you guys.
I think maybe I didn't explain too well. I need to keep the "short cells' still aligned to the left and add the extra spaces to the right of those cells so they all match in character length.
And yes, after the formula is applied, I will have to convert back to Values. Added columns are okay just to do this, can be deleted after.
Valko your solution gives me this after I Pasted Values:
Sheet1
<TABLE style="PADDING-RIGHT: 2pt; PADDING-LEFT: 2pt; FONT-SIZE: 10pt; FONT-FAMILY: Arial,Arial; BACKGROUND-COLOR: #ffffff" cellSpacing=0 cellPadding=0 border=1><COLGROUP><COL style="FONT-WEIGHT: bold; WIDTH: 30px"><COL style="WIDTH: 164px"><COL style="WIDTH: 88px"><COL style="WIDTH: 184px"><COL style="WIDTH: 75px"></COLGROUP><TBODY><TR style="FONT-WEIGHT: bold; FONT-SIZE: 8pt; BACKGROUND-COLOR: #cacaca; TEXT-ALIGN: center"><TD> </TD><TD>A</TD><TD>B</TD><TD>C</TD><TD>D</TD></TR><TR style="HEIGHT: 23px"><TD style="FONT-SIZE: 8pt; BACKGROUND-COLOR: #cacaca; TEXT-ALIGN: center">1</TD><TD style="FONT-WEIGHT: bold; FONT-FAMILY: Verdana; TEXT-ALIGN: right">String</TD><TD style="FONT-WEIGHT: bold; FONT-FAMILY: Verdana; TEXT-ALIGN: right">Len before</TD><TD style="FONT-WEIGHT: bold; FONT-FAMILY: Verdana; TEXT-ALIGN: right">Padded string</TD><TD style="FONT-WEIGHT: bold; FONT-FAMILY: Verdana; TEXT-ALIGN: right">Len after</TD></TR><TR style="HEIGHT: 22px"><TD style="FONT-SIZE: 8pt; BACKGROUND-COLOR: #cacaca; TEXT-ALIGN: center">2</TD><TD>WIRE 36 1X20 </TD><TD style="TEXT-ALIGN: right">13</TD><TD style="FONT-FAMILY: Verdana; TEXT-ALIGN: left"> WIRE 36 1X20 </TD><TD style="TEXT-ALIGN: right">20</TD></TR><TR style="HEIGHT: 22px"><TD style="FONT-SIZE: 8pt; BACKGROUND-COLOR: #cacaca; TEXT-ALIGN: center">3</TD><TD>PAPER ONE PLY 60MIN</TD><TD style="TEXT-ALIGN: right">19</TD><TD style="FONT-FAMILY: Verdana; TEXT-ALIGN: left">PAPER ONE PLY 60MIN</TD><TD style="TEXT-ALIGN: right">20</TD></TR><TR style="HEIGHT: 22px"><TD style="FONT-SIZE: 8pt; BACKGROUND-COLOR: #cacaca; TEXT-ALIGN: center">4</TD><TD>PAPER ONE PLY</TD><TD style="TEXT-ALIGN: right">13</TD><TD style="FONT-FAMILY: Verdana; TEXT-ALIGN: left"> PAPER ONE PLY</TD><TD style="TEXT-ALIGN: right">20</TD></TR><TR style="HEIGHT: 22px"><TD style="FONT-SIZE: 8pt; BACKGROUND-COLOR: #cacaca; TEXT-ALIGN: center">5</TD><TD>CAULKING</TD><TD style="TEXT-ALIGN: right">8</TD><TD style="FONT-FAMILY: Verdana; TEXT-ALIGN: left"> CAULKING</TD><TD style="TEXT-ALIGN: right">20</TD></TR><TR style="HEIGHT: 22px"><TD style="FONT-SIZE: 8pt; BACKGROUND-COLOR: #cacaca; TEXT-ALIGN: center">6</TD><TD>CAULKING RAIN BUSTER</TD><TD style="TEXT-ALIGN: right">20</TD><TD style="FONT-FAMILY: Verdana; TEXT-ALIGN: left">CAULKING RAIN BUSTER</TD><TD style="TEXT-ALIGN: right">20</TD></TR></TBODY></TABLE>
Excel tables to the web >> http://www.excel-jeanie-html.de/index.php?f=1" target="_blank"> Excel Jeanie HTML 4
tushram your formula gave me this, again after Paste values:
Sheet1 (2)
<TABLE style="PADDING-RIGHT: 2pt; PADDING-LEFT: 2pt; FONT-SIZE: 10pt; FONT-FAMILY: Arial,Arial; BACKGROUND-COLOR: #ffffff" cellSpacing=0 cellPadding=0 border=1><COLGROUP><COL style="FONT-WEIGHT: bold; WIDTH: 30px"><COL style="WIDTH: 164px"><COL style="WIDTH: 64px"><COL style="WIDTH: 184px"></COLGROUP><TBODY><TR style="FONT-WEIGHT: bold; FONT-SIZE: 8pt; BACKGROUND-COLOR: #cacaca; TEXT-ALIGN: center"><TD> </TD><TD>B</TD><TD>C</TD><TD>D</TD></TR><TR style="HEIGHT: 22px"><TD style="FONT-SIZE: 8pt; BACKGROUND-COLOR: #cacaca; TEXT-ALIGN: center">1</TD><TD>WIRE 36 1X20 </TD><TD style="TEXT-ALIGN: right">13</TD><TD style="FONT-FAMILY: Verdana"> WIRE 36 1X20 </TD></TR><TR style="HEIGHT: 22px"><TD style="FONT-SIZE: 8pt; BACKGROUND-COLOR: #cacaca; TEXT-ALIGN: center">2</TD><TD>PAPER ONE PLY 60MIN</TD><TD style="TEXT-ALIGN: right">19</TD><TD style="FONT-FAMILY: Verdana">PAPER ONE PLY 60MIN</TD></TR><TR style="HEIGHT: 22px"><TD style="FONT-SIZE: 8pt; BACKGROUND-COLOR: #cacaca; TEXT-ALIGN: center">3</TD><TD>PAPER ONE PLY</TD><TD style="TEXT-ALIGN: right">13</TD><TD style="FONT-FAMILY: Verdana"> PAPER ONE PLY</TD></TR><TR style="HEIGHT: 22px"><TD style="FONT-SIZE: 8pt; BACKGROUND-COLOR: #cacaca; TEXT-ALIGN: center">4</TD><TD>CAULKING RAIN BUSTER</TD><TD style="TEXT-ALIGN: right">20</TD><TD style="FONT-FAMILY: Verdana">CAULKING RAIN BUSTER</TD></TR></TBODY></TABLE>
Excel tables to the web >> http://www.excel-jeanie-html.de/index.php?f=1" target="_blank"> Excel Jeanie HTML 4
It seems that the added spaces being placed Before the text.