Can "Home" key be VBA programmed?

  • Thread starter Thread starter Simon Hughes
  • Start date Start date
S

Simon Hughes

I need to recreate the "Home" key sequence in VBA in which the cursor
immediately move to column A. So far I've not been able to do so. The
closest I've come is:

Selection.End(xlToLeft).Select

This onlyn recreates a "Ctrl Left", so, depending on the sheet, you may have
to do a number of these to get to column A.

Is this possible?
 

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