Mirror Wildcard?

T

thecdnmole

I have empty cells, A1:A10, and in cells C1:C10 I have data. If A1 is
selected, I would like to be able to click on any cell in colum C and that
info then appears in A1. Then I will select A2, and again, click on any cell
in C1:C10 and that appears in A2 and so on. I do not want cells A1 etc. to
change once populated. This can be a macro as well. Thanks!
 
P

p45cal

I think it might have to be a macro!
Try this in the sheet's code module:private Su
Worksheet_SelectionChange(ByVal Target As Range)
Static lastcell As Range
If lastcell Is Nothing Then Set lastcell = ActiveCell
If Target.Count = 1 Then
If Not Intersect(Target, Range("C1:C10")) Is Nothing And No
Intersect(lastcell, Range("A1:A10")) Is Nothing Then
lastcell.Value = Target.Value
End If
Set lastcell = Target
End If
End Sub
It worked here
 
P

Per Jessen

Hi

Maybe you could use a Validation list.

Select A1:A10 then goto Data > Validation > Allow: List > Source:
=$C$1:$C$10 > OK

Regards,
Per
 

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