Home |
Search |
Today's Posts |
#9
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() You will need a macro for that. You could have some code load the strings into a text array: Code: -------------------- Dim myArray() as String Dim ind as Integer ind = 1 While Activecell < "" Redim Preserve myArray(ind) t = Activecell.Value for x = 1 to Len(t) if Mid$(t,x,1) = "*" And myArray(ind) < "" Then ind = ind + 1 ' only increments on first asterisk elseif Mid$(t,x,1) < "*" Then myArray(ind) = myArray(ind) & Mid$(t,x,1) end if next x Selection.Offset(1,0).Select Wend -------------------- Then dump those array values where you want them... HTH -- tkstock ------------------------------------------------------------------------ tkstock's Profile: http://www.excelforum.com/member.php...o&userid=14443 View this thread: http://www.excelforum.com/showthread...hreadid=379764 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
need help setting a simple format to keep rent. | New Users to Excel | |||
macro setting? | Excel Programming | |||
Very simple ? on setting up tab order | Excel Programming | |||
Sending email via macro- setting the importance setting. | Excel Programming | |||
setting row in macro | Excel Programming |