Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Here is another way to do it...
Sub SplitDownwardColumnC() Dim X As Long, LastRow As Long, StartRow As Long Dim Cell As Range, Parts As Variant StartRow = 2 LastRow = Cells(Rows.Count, "A").End(xlUp).Row For X = LastRow To StartRow Step -1 Parts = Split(Cells(X, "C").Value, ",") Rows(X).Offset(1).Resize(UBound(Parts)).Insert Cells(X, "C").Resize(UBound(Parts) + 1).Value = _ WorksheetFunction.Transpose(Parts) Next End Sub -- Rick (MVP - Excel) "anshu minocha" wrote in message ... Found the code: http://groups.google.com/group/micro...5587d778c2c275 thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Splitting out Content in 1 cell (which is currently separated by"ALT-ENTER") into multiple cells | Excel Discussion (Misc queries) | |||
Convert cell "contents" into a "comment" | Excel Discussion (Misc queries) | |||
how to increase size of "name box" and "contents of cell " displa. | New Users to Excel | |||
if one cell has "X" textin contents, then pull cell "Y"... | Excel Worksheet Functions | |||
How do I split "A1B2" into "A1" and "B2" using text to column fun. | Excel Programming |