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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

count chr in single line? 1

Status
Not open for further replies.

Smithsco

Technical User
Mar 30, 2003
89
AU
Is it possible to count the number of tabs that are in a line?
 
Try something like this:
Code:
MsgBox UBound(Split(myLine,vbTab))

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top