|
-
Sep 7th, 2004, 03:41 AM
#1
Thread Starter
Hyperactive Member
Integer to string conversion
Hello everybody
What`s the easiest way to convert an Integer to a String. I was thinking of creating a variant variable and using it like shown below :
Dim int1 As Variant
Dim strText As String
int1 = 2
strText = "Some text..." & int1.
But this does not work. It crashes with a type validation error. Can such code work or do I need to use some integerTostring conversion function?
thx, in advance
George Papadopoulos
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|