Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have Excel 2008 for the Mac and (to be honest) I'm only an occasional
user. Is there a way to do the following: I have the focus on cell A1. In cell D1 Excel will display the word "Elephant" I move the focus to cell A2 and Excel will display in cell D1 the word "Giraffe". I move the focus to cell A3 and Excel will display in cell d1 the word "Zebra" In other words, can Excel do some kind of lookup based on the cell the focus is on? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You wouldn't do it with a lookup() function.
You'd do it with a Private Sub Worksheet_SelectionChange(ByVal Target As Range) End Sub Detect the current cell address, and update the value of D1 accordingly. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() "Greg Glynn" wrote in message ... You wouldn't do it with a lookup() function. You'd do it with a Private Sub Worksheet_SelectionChange(ByVal Target As Range) End Sub Detect the current cell address, and update the value of D1 accordingly. I'm something of a novice user and I am guessing that what you show above is VBA and that VBA is not supported in Excel for Mac 2008. Can you give me anymore information on this, but even having Goggled "Worksheet_SelectionChange" I am still at a loss as to what it is or where I would use it. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Yes, it's a VBA function. Sorry - Didn't realise the MAC version was
knobbled. I'm not sure how you'd do it otherwise. |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() "Greg Glynn" wrote in message ... Yes, it's a VBA function. Sorry - Didn't realise the MAC version was knobbled. I'm not sure how you'd do it otherwise. The solution would be to upgrade to Office Mac 2011... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Show cell contents depending on other cells information | Excel Programming | |||
How to show cell selection when excel not in focus + other questio | Setting up and Configuration of Excel | |||
Can I show a picture depending on what data is selected in a cell | Excel Discussion (Misc queries) | |||
Hide or show data labels depending on value? | Excel Programming | |||
How to hide/show a textbox depending on cell value | Excel Programming |