Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Select first cell in active row?

Good day all. Excel 2007
Can anyone assist with code to select the first cell in whichever row the
currently active cell is to be found?
If I record "Home" the macro given refers only to that specific cell, I need
a dynamic result dependent an currently active row in the sheet.
Thanks in advance for your always valued contributions.
Wes
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default Select first cell in active row?

Try this line of code...

Cells(ActiveCell.Row, 1).Select

--
Rick (MVP - Excel)



"Wes_A" wrote in message
...
Good day all. Excel 2007
Can anyone assist with code to select the first cell in whichever row the
currently active cell is to be found?
If I record "Home" the macro given refers only to that specific cell, I
need
a dynamic result dependent an currently active row in the sheet.
Thanks in advance for your always valued contributions.
Wes


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
Select specific cells in same row as active cell michaelberrier Excel Programming 4 January 25th 07 08:04 PM
Select specific cells in same row as active cell michaelberrier Excel Programming 1 January 25th 07 07:26 PM
how to select row according active cell? frankosun Excel Programming 2 December 14th 05 09:55 AM
Select Row of Active Cell Michael Smith Excel Programming 1 September 14th 05 10:08 PM


All times are GMT +1. The time now is 01:58 AM.

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

About Us

"It's about Microsoft Excel"