Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default want J1 to reflect the value of a:2:a500 as the cursor enters the

want J1 to reflect the value of a:2:a500 as the cursor enters the row
But how?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default want J1 to reflect the value of a:2:a500 as the cursor enters the

Right click on the sheet tab that you want to react to the change in cursor
location and select view code. Paste the following code...

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Row = 2 And Target.Row <= 500 Then
Range("J1").Value = Cells(Target.Row, "A").Value
End If
End Sub
--
HTH...

Jim Thomlinson


"Gordy99" wrote:

want J1 to reflect the value of a:2:a500 as the cursor enters the row
But how?

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
Autosum automatically enters zero Sally Excel Worksheet Functions 4 March 1st 09 05:45 PM
Putting Cursor in Cell A1 of each Worksheet, then ending cursor on smalest sheet name according to VBA Editor Matt[_40_] Excel Programming 1 May 14th 07 09:21 AM
Excel forms enters .exd in registry Docgonzo Excel Programming 0 February 20th 07 09:20 PM
Date enters wrong #'s Frustrated_rich99 New Users to Excel 2 December 7th 06 01:06 PM
find/replace enters search Excel Discussion (Misc queries) 2 January 31st 06 08:24 PM


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