Need to test to see whether a user selects a word(s)in a document. My try is this:
If selection.words.count =0 then
MsgBox "No text was selected. Try again."
Else...
But this doesn't work. Anyone know how I can test this?
(Xtra Info: The macro I'm working on needs to copy the selected text on to the clipboard, then to to a second open document, and insert a footnote, pasting the copied text into the footnote.)
If selection.words.count =0 then
MsgBox "No text was selected. Try again."
Else...
But this doesn't work. Anyone know how I can test this?
(Xtra Info: The macro I'm working on needs to copy the selected text on to the clipboard, then to to a second open document, and insert a footnote, pasting the copied text into the footnote.)