ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   input box (https://www.excelbanter.com/excel-programming/359290-input-box.html)

srroduin

input box
 
Can I put an input box that has a variable in it?

for example the input box would say:

"Type the amount between date1 and date2"






Don Guillett

input box
 
this idea
Sub inputboxvar()
x = InputBox("type date bigger than " & Range("a2") & " less than"etc)
MsgBox x
End Sub

--
Don Guillett
SalesAid Software

"srroduin" wrote in message
...
Can I put an input box that has a variable in it?

for example the input box would say:

"Type the amount between date1 and date2"








srroduin

input box
 
Thanks....works great!

"Don Guillett" wrote:

this idea
Sub inputboxvar()
x = InputBox("type date bigger than " & Range("a2") & " less than"etc)
MsgBox x
End Sub

--
Don Guillett
SalesAid Software

"srroduin" wrote in message
...
Can I put an input box that has a variable in it?

for example the input box would say:

"Type the amount between date1 and date2"









Don Guillett

input box
 
glad to help

--
Don Guillett
SalesAid Software

"srroduin" wrote in message
...
Thanks....works great!

"Don Guillett" wrote:

this idea
Sub inputboxvar()
x = InputBox("type date bigger than " & Range("a2") & " less than"etc)
MsgBox x
End Sub

--
Don Guillett
SalesAid Software

"srroduin" wrote in message
...
Can I put an input box that has a variable in it?

for example the input box would say:

"Type the amount between date1 and date2"












All times are GMT +1. The time now is 01:02 PM.

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