|
-
Jul 25th, 2011, 09:11 AM
#1
Thread Starter
Member
[RESOLVED] [Excel VBA] Right$ and Left$
I know what Right and Left do. What is the difference if they have a dollar sign at the end?
Thanks
-
Jul 25th, 2011, 09:19 AM
#2
Re: [Excel VBA] Right$ and Left$
They do the same thing, but the $ versions use (and return) the String data type rather than the Variant data type.
As such the $ versions tend to be faster, which can be significant if you are using them a lot inside a loop.
Tags for this Thread
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
|