Skip to Main Content
Word 2007 Document Automation with VBA and VSTO
book

Word 2007 Document Automation with VBA and VSTO

by Scott Driza
March 2009
Intermediate to advanced content levelIntermediate to advanced
617 pages
17h 24m
English
Jones & Bartlett Learning
Content preview from Word 2007 Document Automation with VBA and VSTO
Input Boxes
Message boxes provide a great deal of functionality and allow
you to get feedback from the end user. Sometimes, though,
you will want to obtain more from a user than just the
numeric value of the button selected. In this case, you will
probably want to work with an input box. Input boxes display
a prompt in a dialog box, wait for the user to input text or
click a button, and return a string containing the contents of
the text box. The syntax is:
InputBox(prompt[, title][,default][,xpos][,ypos][,helpfile, context])
The InputBox function has these named arguments:
prompt This parameter is required. This text will be displayed as the message in ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Word 2003 Document Automation with VBA, XML, XSLT, and Smart Documents

Word 2003 Document Automation with VBA, XML, XSLT, and Smart Documents

Scott Driza

Publisher Resources

ISBN: 9781598220476