How to paste Excel data into Outlook as an image using VBA? -


i have excel sheet data in a1:q38 need paste body of outlook email. idea how while not saving image jpg or png?

the outlook object model provides 3 main ways working item bodies:

  1. body.
  2. htmlbody.
  3. the word editor. wordeditor property of inspector class returns instance of word document represents message body. so, you can use word object model whatever need message body.

for example, can use copy method of range class excel object model , use paste method of range class word object model paste copied data in excel.

see chapter 17: working item bodies more information.


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -