I have copied a hyperlink into the clipboard.
In a Word docx I have selected some text and want to convert the text to be a hyperlink to the data on the clipboard.
I can manually do this by right-clicking the selected text, selecting Link-> and either clicking the item from recent links, or selecting Link-> then Insert Link and pasting the clipboard into the address.
I would like to do this in a macro that I can assign to a key as a shortcut. E.g., copy the link to the clipboard in another program then in Word press a single key to have the selected text become a hyperlink to the address on the clipboard.
DataObjectandGetFromClipboardandGetTextto read the contents of the clipboard, and use that instead of the status link you pasted while recording the macro. - CherryDT