Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Newsgroup Archive
Word Newsgroups
Word VBA Beginners
Message Box Cancel Button
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Rita King, post: 5783614"] Thanks for the reply Doug. I am lost with this still (I am a complete beginner) - here's what I have Sub proInputText() Dim strAns As String strAns = InputBox("Type the number of the" & Chr(13) & _ "paragraph you wish to insert", "Will Retrieval") ChangeFileOpenDirectory "Y:\Masters\WILLS\" Selection.InsertFile FileName:=strAns, Range:="", ConfirmConversions:= _ True, Link:=False, Attachment:=False End Sub So to capture the fact that the user may change her mind and press cancel, I need to put: If strAns = "" Then ***what?*** Else ChangeFileOpenDirectory "Y: etc. End If [/QUOTE]
Verification
Post reply
Forums
Archive
Newsgroup Archive
Word Newsgroups
Word VBA Beginners
Message Box Cancel Button
Top