Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

copy table to the email body

hi

I am trying to copy a table using copytoclipboard but unable to paste the copied table in the mail textbody itself

please help

regards

peter

4 Replies
biester
Specialist
Specialist

Hi Peter,

I don't know what exactly your problem is, but if you copy the table as image, the email format must be HTML or RTF, not "text only" to be able to paste an image. Have you checked that?

Rgds,
Joachim

Not applicable
Author

In a macro? Try this:

ActiveDocument.GetSheetObject("CH01").CopyTableToClipboard true

Regards,

Gordon

Not applicable
Author

hi

i am using this command only

but how to paste the copied table in to the email body directly and not as an attachment

regards

peter

Not applicable
Author

Hi.

Have you already discovered how is that done?

I´m trying to do the same and applied this to my script:

  • ActiveDocument.GetSheetObject(getVariable("vObject")).CopyTableToClipboard true

Now i want to paste it directly to the body of the message, assuming i´m using the CreateObject("cbo.message").

Thank you

Regards