Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old March 29th 05, 04:33 PM
Brett
 
Posts: n/a
Default Activate Cell

How do you write a macro to activate Cell(r,3) when the current active cell
is any other cell within the same row? How do you set the value of r to that
of the current active row?

  #2   Report Post  
Old March 29th 05, 05:36 PM
Bernie Deitrick
 
Posts: n/a
Default

Brett,

Cells(Activecell.Row,3).Activate

or

Cells(Activecell.Row,3).Select

HTH,
Bernie
MS Excel MVP

"Brett" wrote in message
...
How do you write a macro to activate Cell(r,3) when the current active

cell
is any other cell within the same row? How do you set the value of r to

that
of the current active row?



  #3   Report Post  
Old March 29th 05, 06:20 PM
George Nicholson
 
Posts: n/a
Default

r = ActiveCell.Row

--
George Nicholson

Remove 'Junk' from return address.


"Brett" wrote in message
...
How do you write a macro to activate Cell(r,3) when the current active
cell
is any other cell within the same row? How do you set the value of r to
that
of the current active row?





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
inserting data from a row to a cell, when the row number is specified by a formula in a cell [email protected] New Users to Excel 2 January 6th 05 07:18 AM
Addition to Turn cell red if today is greater or equal to date in cell Rich New Users to Excel 2 December 9th 04 02:06 AM
How can I activate cell shading in a protected worksheet? unprotect cell shading Excel Discussion (Misc queries) 1 December 8th 04 07:31 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM
VLookup resulting in a blank cell... KempensBoerke Excel Worksheet Functions 1 October 28th 04 09:57 PM


All times are GMT +1. The time now is 05:48 AM.

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017