ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   interactive message with mouse selection (https://www.excelbanter.com/excel-programming/403510-interactive-message-mouse-selection.html)

Miri

interactive message with mouse selection
 
hi,
i would like to have an interactive message like" please select your
required area"
and i get this mouse selection into my code and do something with it... how
do i do that?
--
Miri Tz.

Gary''s Student

interactive message with mouse selection
 
Sub demo()
Dim r As Range
Set r = Application.InputBox(prompt:="pick range with mouse", Type:=8)
MsgBox (r.Address)
End Sub

--
Gary''s Student - gsnu200762


All times are GMT +1. The time now is 10:58 AM.

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