Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MessageBox

Status
Not open for further replies.

gmailJoe

MIS
Apr 4, 2012
2
US
Newbie question here. Is it possible to prompt a user for input via a message box and pass that input to a cell with vbscript?

Thanks
 
sounds like you're looking for an inputbox

Never knock on Death's door: ring the bell and run away! Death really hates that!
 
I found something like this for an inputbox.

<script type="text/vbscript">

Function myFunction()
fname=InputBox("Enter your name")
End Function

</script>

How can I make the text entered into the inputbox populate a certain cell? Can I use more that one inputbox per script?
 
So this is more of a forum707 question than it is a forum329 question

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
gmailJoe said:
How can I make the text entered into the inputbox populate a certain cell?
Are we talking about a cell in an HTML table, a cell in a spreadsheet, or something else?

gmailJoe said:
Can I use more that one inputbox per script?
Yes, but if you are scripting an HTML page and need several inputs, you may want to use input forms.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top