ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Moving active cell (https://www.excelbanter.com/excel-programming/273217-moving-active-cell.html)

Scott

Moving active cell
 
I am trying to move the active cell to the column A in the
same row. I am using the following code.

ActiveCell.End(xlToLeft).Activate

The problem is it stops at a cell if there is a formula in
it. It works fine if the row is empty.

Thanks


ijb

Moving active cell
 
Try: Cells(ActiveCell.Row, 1).Activate

--
If I've mis-understood the question please tell me.

HTH

ijb

Remove nospam from my e-mail address to talk direct

Not MCSD, MVP, TLA, P&P, PCMCIA, etc just trying to help


"Scott" wrote in message
...
I am trying to move the active cell to the column A in the
same row. I am using the following code.

ActiveCell.End(xlToLeft).Activate

The problem is it stops at a cell if there is a formula in
it. It works fine if the row is empty.

Thanks





All times are GMT +1. The time now is 09:45 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com