myfightingirishDOTnet
New Member
- Joined
- May 11, 2010
- Messages
- 2
I need a macro that replaces all spaces with underscores AND deletes all parenthasis and dashes.
For example,
<TABLE style="WIDTH: 372pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=496 border=0><COLGROUP><COL style="WIDTH: 372pt; mso-width-source: userset; mso-width-alt: 18139" width=496><TBODY><TR style="HEIGHT: 15.75pt" height=21><TD class=xl63 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #aca899 1pt solid; BORDER-LEFT: #aca899 1pt solid; WIDTH: 372pt; BORDER-BOTTOM: #aca899 1pt solid; HEIGHT: 15.75pt; BACKGROUND-COLOR: #f2f4ec" width=496 height=21>Account Agreement - CFD & Spread Trade (AUS FX).doc</TD></TR></TBODY></TABLE>
needs to be changed to:
<TABLE style="WIDTH: 372pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=496 border=0><COLGROUP><COL style="WIDTH: 372pt; mso-width-source: userset; mso-width-alt: 18139" width=496><TBODY><TR style="HEIGHT: 15.75pt" height=21><TD class=xl65 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #aca899 1pt solid; BORDER-LEFT: #aca899 1pt solid; WIDTH: 372pt; BORDER-BOTTOM: #aca899 1pt solid; HEIGHT: 15.75pt; BACKGROUND-COLOR: #f2f4ec" width=496 height=21>Account_Agreement_CFD_&_Spread_Trade_AUS FX.doc</TD></TR></TBODY></TABLE>
This macro will applied to one column.
Help anyone?
For example,
<TABLE style="WIDTH: 372pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=496 border=0><COLGROUP><COL style="WIDTH: 372pt; mso-width-source: userset; mso-width-alt: 18139" width=496><TBODY><TR style="HEIGHT: 15.75pt" height=21><TD class=xl63 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #aca899 1pt solid; BORDER-LEFT: #aca899 1pt solid; WIDTH: 372pt; BORDER-BOTTOM: #aca899 1pt solid; HEIGHT: 15.75pt; BACKGROUND-COLOR: #f2f4ec" width=496 height=21>Account Agreement - CFD & Spread Trade (AUS FX).doc</TD></TR></TBODY></TABLE>
needs to be changed to:
<TABLE style="WIDTH: 372pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=496 border=0><COLGROUP><COL style="WIDTH: 372pt; mso-width-source: userset; mso-width-alt: 18139" width=496><TBODY><TR style="HEIGHT: 15.75pt" height=21><TD class=xl65 style="BORDER-RIGHT: black 0.5pt solid; BORDER-TOP: #aca899 1pt solid; BORDER-LEFT: #aca899 1pt solid; WIDTH: 372pt; BORDER-BOTTOM: #aca899 1pt solid; HEIGHT: 15.75pt; BACKGROUND-COLOR: #f2f4ec" width=496 height=21>Account_Agreement_CFD_&_Spread_Trade_AUS FX.doc</TD></TR></TBODY></TABLE>
This macro will applied to one column.
Help anyone?
Last edited: