Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Select range problem
Hi
In this example "EndDatabas" Ã*s cell P1120. So I want A1:P1120 to be selected, but I get A1: Q1120!! Range("EndDatabas").Select myRowNr = ActiveCell.Row myColNr = ActiveCell.Column Range(Cells(1, 1), Cells(myRowNr, myColNr)).Select Wat's wrong? Thanks in advance //KentÄ |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Select range problem
Try
Range("A1","EndDatabas").Select If this post helps click Yes --------------- Jacob Skaria "Kentae" wrote: Hi In this example "EndDatabas" Ã*s cell P1120. So I want A1:P1120 to be selected, but I get A1: Q1120!! Range("EndDatabas").Select myRowNr = ActiveCell.Row myColNr = ActiveCell.Column Range(Cells(1, 1), Cells(myRowNr, myColNr)).Select Wat's wrong? Thanks in advance //KentÄ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Select method of range class failed problem | Excel Programming | |||
Range("cell").Select Problem | Excel Discussion (Misc queries) | |||
Select Case on a range - problem | Excel Programming | |||
Select Sheet then Select Range | Excel Programming | |||
Select Range problem | Excel Programming |