Copy form Word To Outlook
hi,
i have problem to copy something from word to outlook
i selected something from word by code,and when i tried to paste it to outlook it pasted to outlook outgoing messege it pasted only numbers and not the selected text
how can i do it with a code??
how can i change the secruity level at outlook with code
thanks,omer
Re: Copy form Word To Outlook
Welcome to the forums. :wave:
How are you doing the copy from word and the paste into Outlook?
http://www.vbforums.com/
Re: Copy form Word To Outlook
You can not change the security levels via code as that would be self defeating the purpose of security.
Moved.
Re: Copy form Word To Outlook
i copy it to the clipboard and then i try to paste it tio outlook///
Re: Copy form Word To Outlook
Quote:
Originally Posted by omerg84
i copy it to the clipboard and then i try to paste it tio outlook///
Yes, but what is the code that you are using to do both the copy and the paste?
Re: Copy form Word To Outlook
We need more information.
Are you pasting into an html, rtf, or plain text formatted email? If you do it manually does it work?
Re: Copy form Word To Outlook
Quote:
Originally Posted by Hack
Yes, but what is the code that you are using to do both the copy and the paste?
oword.selection.copy //copy
objmail.body=clipboard.getdata //paste
Re: Copy form Word To Outlook
You should be using objmail.Body = Clipboard.GetText and not GetData as GetData is for images and files etc.
vbCFText or vbCFRTF depending on your type of text. ;)
Re: Copy form Word To Outlook
The graphical table lines are not selectable/paste-able text. ;)