|
-
Jul 16th, 2000, 07:28 PM
#1
Hello all,
Consider the following code:
Private Sub Form_Load()
Dim test As Variant
test= Space(5)
test= "8"
MsgBox Len(header)
End Sub
The msgbox gets a length of 1. My question is, is there a way to make it keep a length of 5, by have something like " 8" (4 spaces) put into the variable automatically? ie, have it automatically fill up the not used spaces rather than throwing them out?
Sunny
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
|