Display contents of active cell in another cell?

W

Woodstock

I am looking for a way to have a particular cell on my spreadsheet tell me
what is in the cell that is currently active. Anyone know of a simple way to
do this?
 
E

Elkar

You would need to use VB code for this. In the Worksheet code section enter:

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Range("A1").Value = ActiveCell.Value
End Sub

This will have cell A1 display the contents of whatever cell is currently
active.

HTH
Elkar
 

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

Top