Select Range of Label + 1

Currently I have:
ActiveSheet.Range("myLabel:P74").Select
But I really want one row below myLabel, ie if myLabel is cell P2, I want P3
Below code doesn't work.
ActiveSheet.Range("myLabel + 1:P74").Select

How do I do this?

(there is a plus sign after myLabel in the 2nd code statement, not showing up in the preview for some reason)
LVL 1
allelopathAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Chris BottomleySoftware Quality Lead EngineerCommented:
Hello allelopath,

Couldn't do it easily ... myself but the following should work:

ActiveSheet.Range("myLabel").offset(1,0).resize(74 - ActiveSheet.Range("myLabel").row, columns("P").column - ActiveSheet.Range("myLabel").column + 1).select

Regards,
Chris
0
Patrick MatthewsCommented:
I would try this, assuming you have a named range in the active sheet named MyLabel...

ActiveSheet.Range(myLabel.Offset(1, 0), "p74").Select
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Patrick MatthewsCommented:
Chris, what happened?

Double :)
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Chris BottomleySoftware Quality Lead EngineerCommented:
I was trying to get to:

ActiveSheet.Range(ActiveSheet.Range("myLabel").Offset(1, 0), "p74").Select

BUt couldn't quite see my way to it ... and neither did you I think ... 1/2 :)

Chris
0
Patrick MatthewsCommented:
chris_bottomley said:
>>and neither did you I think

Nope, neither did I.  Guess I should keep my sarcasm to myself in the future :)
0
Chris BottomleySoftware Quality Lead EngineerCommented:
Nah ... we gotta take our pleasures where we can!  ANd in response to the riposte that Sarcasm is the lowest form of wit I reply that it' is however appropriate for the lowest form of life ... to whit me.

Look Kevin Lots of ellipses!

Chris
0
Patrick MatthewsCommented:
allelopath,

Glad to help!  Depending on your situation, Chris's amendment to my approach might have been more
appropriate.  If so, I would have no objection at all if you asked the Mods t reopen the question so you
could reenter it as a split.

Regards,

Patrick
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.