You can use the Split function:
 
'***** code start *****'
 
Dim varItem As Variant
 
For Each varItem In Split("abcde|ajhui|reiek", "|")
    Debug.Print varItem '<-- do whatever you need to with the individual values
Next
 
'***** code end*****'
 

Tom Oakes
Personal PC Consultants, Inc.
[EMAIL PROTECTED]
503.230.0911 (O)
402.968.6946 (C)
713.583.7091 (F)




From: AccessDevelopers@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of verly yuli
Sent: Wednesday, July 06, 2005 9:51 PM
To: AccessDevelopers@yahoogroups.com; accessvbacentral@yahoogroups.com
Subject: [AccessDevelopers] how to split this character?

hello all

i have a example text
abcde|ajhiu|reiek
how to split this text to row?

thank you for all support

regards warmest


verly yuli


           
____________________________________________________
Sell on Yahoo! Auctions – no fees. Bid on great items. 
http://auctions.yahoo.com/



Please zip all files prior to uploading to Files section.





Please zip all files prior to uploading to Files section.




YAHOO! GROUPS LINKS




Reply via email to