Copy and paste from docx file
Copy and paste from docx file
Hi, I would like to copy and paste a text from a docx file into a Gmail email. Is this possible?
Re: Copy and paste from docx file
I found this snippet that seems to copy the contents of the docx file correctly but pasting doesn't work (manual only)
Code: Select all
FilePath := "C:\Users\MN\OneDrive\Lavoro\DocAziendali\Rilascio CD\Risposte pronte per la spedizione di CD.docx"
F9::
oDoc := ComObjGet(FilePath)
oDoc.Range.FormattedText.Copy
oDoc.Close(0)
Send ^v
return
Re: Copy and paste from docx file
No personal experience in gmail client, just a couple of pointers:
From an outside thread:
Related:
Pasting a word document into the body of an email
Paste rich text
What is the easiest way to format code when pasting to Gmail?
From an outside thread:
Try converting the docx into rtf - may lose some formatting, and is probably not going to work anyhow (like this), in which case the only option (apart from switching mail client) is to add the content as an attachment.When you compose an email in Gmail, in the lower right corner, you have a small drop down arrow for "More options". Make sure that "Plain Text Mode" is UNCHECKED.
Related:
Pasting a word document into the body of an email
Paste rich text
What is the easiest way to format code when pasting to Gmail?
![Arrow :arrow:](./images/smilies/icon_arrow.gif)
Re: Copy and paste from docx file
Thanks for your help. I'll try to see.