Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Copying variable to Clipboard

I need to copy the contents of a variable to the clipboard within a QV app.  I can get the contents of the variable but afterwards I cannot get the text copied to the clipboard.  I have a button that executes the below macro.  The macro successfully retrieves the contents of the variable but everything I try cannot get the text of EmailAddresses copied to the clipboard.  All the examples I see use objects such as a table to get info to the clipboard like ActiveDocument.GetSheetObject("TX03").CopyTextToClipboard but i want to go straight from the variable to the clipboard.  I have allow export checked on the Security tab of the Document properties also.

Thanks

sub CopyVariable

set EmailAddresses = ActiveDocument.GetVariable("EmailVariable")

'Now what do I do to get EmailAddress to the clipboard???

end sub

0 Replies