Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
HI,
I would like to ask the user to insert a address in a msgb box, but that inputbox should allow the user to drag the address directely in the excel sheet . Just like when we are entering a formula and appear that button in right side of the input formula box. if it is possible mail me the answer. thank you in advance Adri -- Message posted from http://www.ExcelForum.com |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
dim rng as Range
On error resume Next set rng = application.InputBox("use mouse to select range", type:=8) On Error goto 0 if not rng is nothing then msgbox rng.Address & " was selected" else msgbox "You clicked cancel" End if Post it here, read it here. -- Regards, Tom Ogilvy "Adrix " wrote in message ... HI, I would like to ask the user to insert a address in a msgb box, but that inputbox should allow the user to drag the address directely int the excel sheet . Just like when we are entering a formula and appears that button in right side of the input formula box. if it is possible mail me the answer. thank you in advance Adrix --- Message posted from http://www.ExcelForum.com/ |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Note that this allows you to select a range, whose dares is loaded into the
InputBox, there is no drag and drop needed (better IMO), -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Tom Ogilvy" wrote in message ... dim rng as Range On error resume Next set rng = application.InputBox("use mouse to select range", type:=8) On Error goto 0 if not rng is nothing then msgbox rng.Address & " was selected" else msgbox "You clicked cancel" End if Post it here, read it here. -- Regards, Tom Ogilvy "Adrix " wrote in message ... HI, I would like to ask the user to insert a address in a msgb box, but that inputbox should allow the user to drag the address directely int the excel sheet . Just like when we are entering a formula and appears that button in right side of the input formula box. if it is possible mail me the answer. thank you in advance Adrix --- Message posted from http://www.ExcelForum.com/ |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Function IsAlpha(x) As Boolea
Dim y As Long, z As Lon y = Len(x For z = 1 To If Mid(x, z, 1) Like "[0-9]" The IsAlpha = Fals Exit Functio End If <<<<<<<< Nex IsAlpha = Tru End Functio |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to input pictures automatically based on cell input? | Excel Worksheet Functions | |||
Have user input converted to uppercase in same cell as input? | New Users to Excel | |||
How do I add input data in the input ranges in drop down boxes. | Excel Discussion (Misc queries) | |||
=SUMIF(Input!H2:H718,AZ19,Input!E2:E685)AND(IF | Excel Worksheet Functions | |||
CODE to select range based on User Input or Value of Input Field | Excel Programming |