Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Cell J1 to reflect activecell Row a2:a500

This is the code I put in per Rick R.:
Private Sub worksheet_selectionchange(ByVal target As Range)
Range("j1").Value = Cells(ActiveCell.Row, 1).Value
End Sub

Can't find it on the macro list and I don't see it running. I know I've done
something wrong. Must have something to do with the name of the worksheet.
Gordy

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 897
Default Cell J1 to reflect activecell Row a2:a500

This is sheet code, did you put it in the right place?

"Where do I paste the code that I want to use in my workbook"
http://www.rondebruin.nl/code.htm

--JP



"Gordy99" wrote in message
...
This is the code I put in per Rick R.:
Private Sub worksheet_selectionchange(ByVal target As Range)
Range("j1").Value = Cells(ActiveCell.Row, 1).Value
End Sub

Can't find it on the macro list and I don't see it running. I know I've
done
something wrong. Must have something to do with the name of the worksheet.
Gordy



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Cell J1 to reflect activecell Row a2:a500

I put the code into a VBA Sheet with the rest of the code for that workbook.

"JP" wrote:

This is sheet code, did you put it in the right place?

"Where do I paste the code that I want to use in my workbook"
http://www.rondebruin.nl/code.htm

--JP



"Gordy99" wrote in message
...
This is the code I put in per Rick R.:
Private Sub worksheet_selectionchange(ByVal target As Range)
Range("j1").Value = Cells(ActiveCell.Row, 1).Value
End Sub

Can't find it on the macro list and I don't see it running. I know I've
done
something wrong. Must have something to do with the name of the worksheet.
Gordy




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Cell J1 to reflect activecell Row a2:a500

Thankyou sooooo much.
Gordy

"JP" wrote:

This is sheet code, did you put it in the right place?

"Where do I paste the code that I want to use in my workbook"
http://www.rondebruin.nl/code.htm

--JP



"Gordy99" wrote in message
...
This is the code I put in per Rick R.:
Private Sub worksheet_selectionchange(ByVal target As Range)
Range("j1").Value = Cells(ActiveCell.Row, 1).Value
End Sub

Can't find it on the macro list and I don't see it running. I know I've
done
something wrong. Must have something to do with the name of the worksheet.
Gordy




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
want J1 to reflect the value of a:2:a500 as the cursor enters the Gordy99 Excel Programming 1 February 27th 08 10:42 PM
one cell does not reflect a sum betty in CT Excel Worksheet Functions 4 September 18th 06 02:56 AM
Reflect cell contents into another worksheet Vince Excel Discussion (Misc queries) 2 August 12th 05 04:36 PM
Formula won't reflect new cell data D'oug Excel Worksheet Functions 1 January 20th 05 03:12 AM
Can I link a cell to reflect a worksheet name? bkester Excel Discussion (Misc queries) 3 January 5th 05 10:47 PM


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