Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.programming
ijb ijb is offline
external usenet poster
 
Posts: 26
Default 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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Row select mode to highlight active row of active cell Bart Fay[_2_] Excel Discussion (Misc queries) 0 May 11th 10 09:34 PM
Excel 2002: Can I have a moving colored band for active row ? Mr. Low Excel Discussion (Misc queries) 1 August 5th 09 03:05 PM
HOW TO COLOR ACTIVE LINE CURSOR IS ON WHEN MOVING STAN Excel Discussion (Misc queries) 1 May 26th 06 03:41 PM
How do I stop active x controls from moving after a print preview mleavitt Excel Discussion (Misc queries) 2 September 12th 05 08:47 PM
moving 450 active e-mail addresses from Excel to Outlook Express ragman10 Excel Discussion (Misc queries) 1 December 2nd 04 03:25 PM


All times are GMT +1. The time now is 06:47 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"