Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm writing a macro to select and copy a large data matrix (excluding
the header row) by using the following VBA coding. Note: the row containing the column headers is row 5. Range("A6").Select Dim rng2 As Range Set rng2 = Range(ActiveCell, ActiveCell.Offset(-1, 0).End(xlToRight)) Set rng2 = Range(rng2, rng2.End(xlDown)) Selection.Copy For some reason this code only selects the single cell A6 to be copied. What am I doing wrong? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Problem with a selection in a matrix-function | Excel Programming | |||
Excel problem with dynamic matrix with a name | Excel Programming | |||
Matrix Problem | Excel Discussion (Misc queries) | |||
big problem selecting and saving data | Excel Programming | |||
vba problem lookup in a matrix | Excel Programming |