Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() i receive the string through txtbox= "jack;dave;john" In above string there are 3 names seprated by 2 semicolon I want to store names in array and display msgbox saying... array="jack" msgbox (array) array="dave" msgbox (array) array="john" msgbox (array) plz note: string names can be in any numbers seprated by column. Also it can be only one name with no semicolon. -- ilyaskazi ------------------------------------------------------------------------ ilyaskazi's Profile: http://www.excelforum.com/member.php...o&userid=23969 View this thread: http://www.excelforum.com/showthread...hreadid=383041 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
use the VBA split function.
DM Unseen |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() thanku jindon, it is solved and working perfect.. :) -- ilyaskazi ------------------------------------------------------------------------ ilyaskazi's Profile: http://www.excelforum.com/member.php...o&userid=23969 View this thread: http://www.excelforum.com/showthread...hreadid=383041 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() If you are on xl200 or later Code: -------------------- Dim x x=split("jack;dave;john",";") msgbox Join(x,vbLf) -------------------- -- jindon ------------------------------------------------------------------------ jindon's Profile: http://www.excelforum.com/member.php...o&userid=13135 View this thread: http://www.excelforum.com/showthread...hreadid=383041 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
To store the formula in a string | Excel Discussion (Misc queries) | |||
Can one store a string in a Array element? | Excel Discussion (Misc queries) | |||
Retrieving data from Excel and store it into string variable | Excel Programming | |||
Retrieving data from Excel and store it into string variable | Excel Programming |