cell address

  • Thread starter Thread starter scrabtree
  • Start date Start date
S

scrabtree

I need a code that will record the active cell address in
another cell (say store it in Sheet1 A:1).

I then need a code that can later look at the address that
is stored in Sheet1 A:1 and go to that referenced
cell.???
 
Hello
Public MyCellAddr As String
Sub DefineCellAddress()
MyCellAddr = ActiveCell.Address
Worksheets("Feuil1").Range("A1").Value = MyCellAddr
End Sub
Sub GotoMyCellAaddress()
Range(MyCellAddr).Select
End Sub

HTH
Cordially
Pascal
 

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