Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Count chars in a string 1

Status
Not open for further replies.

WynneSMI

Programmer
Dec 16, 2002
76
US
This is probably a really dumb question, but since I'm new to this I'm gonna ask the question. I have a string and need to know how to find out how many chars are in it. How do you count the number of characters in a string in VBA? Thanks.
 
Try Len([string]) where [string] is your string name.
 
Thanks n2cbk! I figured it had to be something simple!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top