adding strings
Thanks. Worked fine.
Why doesn't the help file point to this simple function ??
Julian B
-----Original Message-----
Julian,
Try
Sub add_strings()
A = "4="
B = Cells(1, "B") 'THE CONTENT OF THE CELLS IS 2
C = A + Trim(Str$(B))
End Sub
--
HTH
Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
"julian brotherton" wrote
in message
...
sub add_strings()
A = "4="
B = CELLS(ROW,"B") 'THE CONTENT OF THE CELLS IS 2
C= A + STR$(B)
END SUB
The result is 4= 2
I don't want the space between the 4= & the 2
Is there a way of combining the two, but removing the
leading space ??
.
|