Hi there,
I'm regularly using your fantastic site but this is the first time I've actually found a problem you didn't already have an answer for!
I want VBA to assign:
=AB24&" ≤ X ≥ "&AB25
to Cell AC25 so that it outputs:
<TABLE style="WIDTH: 62pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=83><COLGROUP><COL style="WIDTH: 62pt; mso-width-source: userset; mso-width-alt: 3035" width=83><TBODY><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: #c4d79b; WIDTH: 62pt; HEIGHT: 15pt; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0" class=xl63 height=20 width=83>12 ≤ X ≥ 24</TD></TR></TBODY></TABLE>
Now when I try to use VBA it just comes out as:
<TABLE style="WIDTH: 62pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=83><COLGROUP><COL style="WIDTH: 62pt; mso-width-source: userset; mso-width-alt: 3035" width=83><TBODY><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: #c4d79b; WIDTH: 62pt; HEIGHT: 15pt; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0" class=xl65 height=20 width=83>12 = X = 24</TD></TR></TBODY></TABLE>
The VBA code I'm using is:
Range("AC25").Select
ActiveCell.FormulaR1C1 = "=R[-1]C[-1]&"" < X > ""&RC[-1]"
Anyone able to help with this?
Cheers,
Alex.
I'm regularly using your fantastic site but this is the first time I've actually found a problem you didn't already have an answer for!
I want VBA to assign:
=AB24&" ≤ X ≥ "&AB25
to Cell AC25 so that it outputs:
<TABLE style="WIDTH: 62pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=83><COLGROUP><COL style="WIDTH: 62pt; mso-width-source: userset; mso-width-alt: 3035" width=83><TBODY><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: #c4d79b; WIDTH: 62pt; HEIGHT: 15pt; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0" class=xl63 height=20 width=83>12 ≤ X ≥ 24</TD></TR></TBODY></TABLE>
Now when I try to use VBA it just comes out as:
<TABLE style="WIDTH: 62pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=83><COLGROUP><COL style="WIDTH: 62pt; mso-width-source: userset; mso-width-alt: 3035" width=83><TBODY><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: #c4d79b; WIDTH: 62pt; HEIGHT: 15pt; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0" class=xl65 height=20 width=83>12 = X = 24</TD></TR></TBODY></TABLE>
The VBA code I'm using is:
Range("AC25").Select
ActiveCell.FormulaR1C1 = "=R[-1]C[-1]&"" < X > ""&RC[-1]"
Anyone able to help with this?
Cheers,
Alex.