Cell J1 to reflect activecell Row a2:a500

  • Thread starter Thread starter Gordy99
  • Start date Start date
G

Gordy99

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
 
I put the code into a VBA Sheet with the rest of the code for that workbook.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top