Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
A1= A2 (When selected).A3 (When selected)
How Would I code A1= A2 (When selected).A3 (When selected) in Excel
|
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
A1= A2 (When selected).A3 (When selected)
Maybe:
Private Sub Worksheet_SelectionChange(ByVal Target As Range) [A1] = ActiveCell.Value End Sub Go to the VBA Editor (Alt+F11), click on the sheet where need this code and paste above code into the code window. It will put the value of the Active cell (=same as seleted cell if only one cell is selected) into A1. Cheers, Joerg "electromatt" wrote in message ... How Would I code A1= A2 (When selected).A3 (When selected) in Excel |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
A1= A2 (When selected).A3 (When selected)
Thats exacly what I needed. Thanks alot.
"Joerg" wrote: Maybe: Private Sub Worksheet_SelectionChange(ByVal Target As Range) [A1] = ActiveCell.Value End Sub Go to the VBA Editor (Alt+F11), click on the sheet where need this code and paste above code into the code window. It will put the value of the Active cell (=same as seleted cell if only one cell is selected) into A1. Cheers, Joerg "electromatt" wrote in message ... How Would I code A1= A2 (When selected).A3 (When selected) in Excel |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Cells are selected but aren't displayed as selected | Excel Discussion (Misc queries) | |||
Cells are selected but aren't displayed as selected | Excel Worksheet Functions | |||
A validated List which link to selected cells according to what is selected on the list | Excel Worksheet Functions | |||
how do i make it so that when a sheat is selected either via link or tab, that xlLastCell is selected. the last on the sheet. | Excel Worksheet Functions | |||
how read value from last selected cell? It is possible? how get adress last selected cell? | New Users to Excel |