PC Review


Reply
Thread Tools Rate Thread

Cell J1 to reflect activecell Row a2:a500

 
 
Gordy99
Guest
Posts: n/a
 
      28th Feb 2008
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 With Quote
 
 
 
 
JP
Guest
Posts: n/a
 
      28th Feb 2008
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" <(E-Mail Removed)> wrote in message
news9D7BB53-9B12-4D7E-9D58-(E-Mail Removed)...
> 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 With Quote
 
Gordy99
Guest
Posts: n/a
 
      28th Feb 2008
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" <(E-Mail Removed)> wrote in message
> news9D7BB53-9B12-4D7E-9D58-(E-Mail Removed)...
> > 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 With Quote
 
Gordy99
Guest
Posts: n/a
 
      28th Feb 2008
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" <(E-Mail Removed)> wrote in message
> news9D7BB53-9B12-4D7E-9D58-(E-Mail Removed)...
> > 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I reference Current Cell when cell isn't the Activecell VBA2VBZGuy Microsoft Excel Programming 3 25th Jul 2011 04:58 PM
want J1 to reflect the value of a:2:a500 as the cursor enters the Gordy99 Microsoft Excel Programming 1 27th Feb 2008 10:42 PM
one cell does not reflect a sum =?Utf-8?B?YmV0dHkgaW4gQ1Q=?= Microsoft Excel Worksheet Functions 8 18th Sep 2006 02:56 AM
one cell does not reflect a sum =?Utf-8?B?YmV0dHkgaW4gQ1Q=?= Microsoft Excel Worksheet Functions 0 16th Sep 2006 03:03 PM
Re: Cell Data to Reflect Active Cell Earl Kiosterud Microsoft Excel Discussion 0 26th Aug 2005 10:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:14 PM.