Passing data to fix cell

A

Amnon Wilensky

Hi,
Is it possible to pass data from any cell on the spreadsheet by clicking on
it, to a predetermined fix cell?

Thanks,

Amnon
 
D

Don Guillett

How about a DOUBLE click. Right click on the sheet tab>view code>copy/paste
this

Private Sub Worksheet_BeforeDoubleClick _
(ByVal Target As Range, Cancel As Boolean)
Application.EnableEvents = False
With Range("a3")
If Target.Address <> .Address Then .Value = Target
End With
Application.EnableEvents =
 
H

HARSHAWARDHAN. S .SHASTRI

Dear Amnon,

If your predetermined cell is say A1 ,

then right click on sheet tab select view code, in worksheet
,selectionchange event put following code

Range("A1") = ActiveCell.Value

H S Shastri


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
A

Amnon Wilensky

Thanks,

Amnon

"HARSHAWARDHAN. S .SHASTRI"
Dear Amnon,

If your predetermined cell is say A1 ,

then right click on sheet tab select view code, in worksheet
,selectionchange event put following code

Range("A1") = ActiveCell.Value

H S Shastri


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 

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

Similar Threads

Activate cell in protection mode 4
Activating object from Excel cell 2
Twin cells 5
Reverse string on multiply cells 3
Stop zero on cell 6
Ignoring empty cells 6
Popup File 3
Painting equal cells 2

Top