Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 108
Default Data Manipulation

Hello €“
I have a cell whose contents are C,C,C,D,D,C,C,C,C,C
Im looking for direction on how to store that in a variable and spit out
each letter into individual cells. Text to column is not the optimal
approach as there is more to the model that is described here. I need to
learn a different approach€¦

Sincerely,
Arturo
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,339
Default Data Manipulation

Hi,
Try this:


Sub SplitMe()

Dim v As Variant

Range("a1").Select
v = Split(ActiveCell, ",")
For i = 0 To UBound(v)
Cells(i + 1, "B") = v(i)
Next i

End Sub


HTH


"Arturo" wrote:

Hello €“
I have a cell whose contents are C,C,C,D,D,C,C,C,C,C
Im looking for direction on how to store that in a variable and spit out
each letter into individual cells. Text to column is not the optimal
approach as there is more to the model that is described here. I need to
learn a different approach€¦

Sincerely,
Arturo

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Data manipulation help Brian Excel Worksheet Functions 9 May 15th 09 12:40 PM
Data Manipulation. Wilson Excel Discussion (Misc queries) 0 August 13th 08 03:06 PM
Help with data manipulation Rayo K Excel Discussion (Misc queries) 0 December 14th 06 06:56 PM
Need help with some data manipulation Dan B Excel Worksheet Functions 3 January 5th 06 05:22 PM
Data manipulation BW Excel Discussion (Misc queries) 3 March 26th 05 11:49 PM


All times are GMT +1. The time now is 01:13 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"