VBA for Home key

  • Thread starter Thread starter Alistair Saldanha
  • Start date Start date
A

Alistair Saldanha

Greetings to all!

My question: What is the Excel VBA equivalent of hitting the Home key?
"Selection.End(xlToLeft).Select" won't go all the way to the left if it
encounters a blank cell enroute.

Alistair
 
That wouldn't be equivalent to using the Home key if there were column
"frozen" using Window > Freeze Panes
 
Not a problem in my current situation but thanks for pointing that out.

Alistair
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top