ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   how read value from last selected cell? It is possible? how get adress last selected cell? (https://www.excelbanter.com/excel-programming/330469-how-read-value-last-selected-cell-possible-how-get-adress-last-selected-cell.html)

Andrzej

how read value from last selected cell? It is possible? how get adress last selected cell?
 
for example.

I write to cell A11 value "hello",
and next:
IF I click "ENTER" or IF I click mouse in any different cell (A15, B10,
C1... free choice) I wont to display:
MsgBox "Value in your last selected cell = ???"

On this example MsgBox "Value in your last selected cell = hello"

it is very important for me.
I try with event of Private Sub Worksheet_Change(ByVal Target As Range) ??
but :(

thanks everybody,
Andrzej



Nick Hodge

how read value from last selected cell? It is possible? how get adress last selected cell?
 
Possible resolution in .misc (please don't coss-post)

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS


"Andrzej" wrote in message
...
for example.

I write to cell A11 value "hello",
and next:
IF I click "ENTER" or IF I click mouse in any different cell (A15, B10,
C1... free choice) I wont to display:
MsgBox "Value in your last selected cell = ???"

On this example MsgBox "Value in your last selected cell = hello"

it is very important for me.
I try with event of Private Sub Worksheet_Change(ByVal Target As Range) ??
but :(

thanks everybody,
Andrzej






All times are GMT +1. The time now is 02:41 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com