Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Selecting the first cell of a row

Does someone know the macro for selecting the first cell
of a row when a cell in the same row is selected?

Thanks in advance,
Remko
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Selecting the first cell of a row

cells(activeCell.Row,1).Select

--
Regards,
Tom Ogilvy

"Remko Campagne" wrote in message
...
Does someone know the macro for selecting the first cell
of a row when a cell in the same row is selected?

Thanks in advance,
Remko



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 140
Default Selecting the first cell of a row

Remko Campagne wrote:
Does someone know the macro for selecting the first cell
of a row when a cell in the same row is selected?

Thanks in advance,
Remko


Cells(1, ActiveCell.Column).Select

Regards,
--
Beto
Reply: Erase between the dot (inclusive) and the @.
Responder: Borra la frase obvia y el punto previo.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 140
Default Selecting the first cell of a row

Beto wrote:

Remko Campagne wrote:

Does someone know the macro for selecting the first cell of a row when
a cell in the same row is selected?

Thanks in advance,
Remko



Cells(1, ActiveCell.Column).Select


Sorry, it was the other way around.

Cells(ActiveCell.Row, 1).Select

--
Beto
Reply: Erase between the dot (inclusive) and the @.
Responder: Borra la frase obvia y el punto previo.

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
selecting a cell Pat Excel Discussion (Misc queries) 1 March 27th 10 09:28 PM
Excel 2007 single cell selecting muliple cell Submit2s Excel Worksheet Functions 1 February 12th 09 04:52 PM
Selecting a cell entry based on cell validation selection Brutalius Excel Worksheet Functions 2 December 17th 08 03:44 AM
Transfer cell values to another cell by selecting button. Gryndar Excel Worksheet Functions 2 November 24th 08 02:21 AM
Selecting a cell Bob[_35_] Excel Programming 4 September 12th 03 04:46 PM


All times are GMT +1. The time now is 01:34 PM.

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"