Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 204
Default find row address of target cell

I am trying to get the row address of a target cell. The following code does
not work. Please tell me where I'm going wrong. Thanks

If Target.Column = 11 Then
trow = Sheets("a grade").Cells(Rows.Count, Target).Row

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 204
Default find row address of target cell

done.

trow = target.row

"NDBC" wrote:

I am trying to get the row address of a target cell. The following code does
not work. Please tell me where I'm going wrong. Thanks

If Target.Column = 11 Then
trow = Sheets("a grade").Cells(Rows.Count, Target).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
Worksheet_change Target Address is Reference Cell mpreddy[_4_] Excel Programming 0 September 29th 04 09:46 AM
Worksheet_change Target Address is Reference Cell mpreddy[_3_] Excel Programming 0 September 29th 04 08:53 AM
Worksheet_change Target Address is Reference Cell mpreddy[_2_] Excel Programming 0 September 29th 04 07:51 AM
How find if target is object in Worksheet_Change (ByVal Target As.. ?) Gunnar Johansson Excel Programming 3 July 1st 04 09:25 PM
How to find and sub total a specific number of cell above the target cell jane Excel Programming 1 January 21st 04 03:37 PM


All times are GMT +1. The time now is 03:47 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"