Help needed selecting left cell same line

  • Thread starter Thread starter Simon Lloyd
  • Start date Start date
S

Simon Lloyd

Hi all!

Can anyone tell me how to get excel to select a cell in column A on th
same row that data has just been entered by a macro, but it has to ski
text in other cells to get there!....... selection.end(xltoleft).selec
wont work as it stops when it gets to a cell that contains data!

Simo
 
Hi
not quite sure what you're trying to do but try
msgbox cells(activecell.row,"A").value
 
If you're talking about the user doing it, then pressing the home key will
work. Otherwise:

Range("A" & ActiveCell.Row).Select

should do it.

Cheers,

Jeff
 

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