Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

VB Script to copy selected value to clipboard


Hi

Please can anyone tell me how to do this?

I want to copy a selected value in a specific field to the clipboard so that I can paste it into a word document. I want to do this using vb script as my macro sends a bunch of tables to word.

Labels (1)
2 Replies
tresB
Champion III
Champion III

Try like:

Activedocument.getSheetObject("CH02").CopyValuesToClipBoard

shawn-qv
Creator
Creator

For list or tables, you can try ActiveDocument.GetSheetObject("ID").CopyValuesToClipboard

Or for text objects you can replace the function with CopyTextToClipboard