dspel79082
Board Regular
- Joined
- Sep 29, 2012
- Messages
- 125
Hi All,
Hoping this is an easy question.(MS Office 2010) I am finishing up a mailing system with vb that is way too complicated to go into here. I have most all of my code finished and working except one bit that is causing me problems.
Excel creates my Outlook emails with addresses, attachments, etc. , but I have a need to paste one small bit of text into each email. I cannot use .body or .htmlbody in any form. It causes issues with my particular setup. I have to have an actual paste.
I have the data ready on the clipboard, and the Outlook mail as the active window with the cursor in position for the paste.
Can someone tell me how to paste at the cursor position of the active mail window? immediatley followed by my .send
I have tried many other ways to accomplish what I need, and I'd rather scrap this whole thing than deal with SendKeys and numlock bugs....
A couple of folks here on the message board have given some guidance, but none of the approaches have worked for me yet.
I just need a paste.
Hopefully someone here may know an easy way to accomplish this.
Thank you for your time.
Debbie
Hoping this is an easy question.(MS Office 2010) I am finishing up a mailing system with vb that is way too complicated to go into here. I have most all of my code finished and working except one bit that is causing me problems.
Excel creates my Outlook emails with addresses, attachments, etc. , but I have a need to paste one small bit of text into each email. I cannot use .body or .htmlbody in any form. It causes issues with my particular setup. I have to have an actual paste.
I have the data ready on the clipboard, and the Outlook mail as the active window with the cursor in position for the paste.
Can someone tell me how to paste at the cursor position of the active mail window? immediatley followed by my .send
I have tried many other ways to accomplish what I need, and I'd rather scrap this whole thing than deal with SendKeys and numlock bugs....
A couple of folks here on the message board have given some guidance, but none of the approaches have worked for me yet.
I just need a paste.
Hopefully someone here may know an easy way to accomplish this.
Thank you for your time.
Debbie