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?
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.
---- LSpots keywords ?>---- HM ADS ?>
Please zip all files prior to uploading to Files section.
---- LSpots keywords ?> ---- HM ADS ?>
YAHOO! GROUPS LINKS
- Visit your group "AccessDevelopers" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.