![]() |
#1
|
|||
|
|||
![]()
Hi
i came across this macro, since its similar to what i want Sub Encolumnar() Dim C As Range [p ![]() For Each C In Selection If IsEmpty(C. Offset(1)) Then C. Copy Range("p" & Cells.Rows.Count). End(xlUp). Offset(1) Else Range(C, C. End(xlDown)). Copy Range("p" & Cells.Rows.Count). End(xlUp). Offset(1) End If Next C End Sub is there a way to change this so that the selection is made in a column instead of a row, plus other columns on others sheets? :S The main objective was to do something like this without macros, but if it cant then i'll use this macro. The main idea here is in the excel im adding |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to create two columns based on a certain criterior from the original two column? | where_pc | Excel | 3 | 06-13-2011 10:39 AM |
![]() |
pdfaust | Excel | 2 | 02-03-2011 03:02 PM |
![]() |
Jamal NUMAN | Excel | 1 | 01-12-2011 07:59 PM |
![]() |
Learner7 | Excel | 5 | 06-12-2010 09:54 AM |
![]() |
jerryjaysr | Excel | 4 | 06-29-2006 07:27 AM |