A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Mirror Wildcard?



 
 
Thread Tools Display Modes
  #1  
Old August 22nd, 2009, 04:40 PM posted to microsoft.public.excel.worksheet.functions
thecdnmole
external usenet poster
 
Posts: 8
Default Mirror Wildcard?

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!
  #2  
Old August 22nd, 2009, 05:08 PM posted to microsoft.public.excel.worksheet.functions
p45cal[_42_]
external usenet poster
 
Posts: 1
Default Mirror Wildcard?


I think it might have to be a macro!
Try this in the sheet's code module:Private Sub
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 Not
Intersect(lastcell, Range("A1:A10")) Is Nothing Then
lastcell.Value = Target.Value
End If
Set lastcell = Target
End If
End Sub
It worked here.


--
p45cal

*p45cal*
------------------------------------------------------------------------
p45cal's Profile: http://www.thecodecage.com/forumz/member.php?userid=558
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=127686

  #3  
Old August 22nd, 2009, 06:59 PM posted to microsoft.public.excel.worksheet.functions
Per Jessen
external usenet poster
 
Posts: 686
Default Mirror Wildcard?

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


"thecdnmole" skrev i meddelelsen
...
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!


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:32 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.