A Microsoft Excel forum. ExcelBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » ExcelBanter forum » Excel Newsgroups » Excel Discussion (Misc queries)
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Activate Cell



 
 
Thread Tools Display Modes
  #1  
Old March 29th 05, 04:33 PM
Brett
external usenet poster
 
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?
Ads
  #2  
Old March 29th 05, 05:36 PM
Bernie Deitrick
external usenet poster
 
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  
Old March 29th 05, 06:20 PM
George Nicholson
external usenet poster
 
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?



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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 09:14 AM.


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