DonAndress
Active Member
- Joined
- Sep 25, 2011
- Messages
- 362
- Office Version
- 2019
- 2016
- Platform
- Windows
Hello.
Today I need to define a range more or less like below:
Worksheets("sheet").Range("M1:Q54")
Now.
Rows 1, 2 and 3 are merged but the rest below is not.
Three first rows contain text and the rest multiple velues (but it's a series).
I don't know if cell Q54 is the last one so I need to use xlDown (Q is the last column).
When I try to use on a keyboard "ctrl+shift+down_arrow" it seems that Excel treats these cells as different type and makes me press the combination twice to select whole range M1:Q54.
How should the code look like so it lets to select different ranges down?
Today I need to define a range more or less like below:
Worksheets("sheet").Range("M1:Q54")
Now.
Rows 1, 2 and 3 are merged but the rest below is not.
Three first rows contain text and the rest multiple velues (but it's a series).
I don't know if cell Q54 is the last one so I need to use xlDown (Q is the last column).
When I try to use on a keyboard "ctrl+shift+down_arrow" it seems that Excel treats these cells as different type and makes me press the combination twice to select whole range M1:Q54.
How should the code look like so it lets to select different ranges down?