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:
- body.
- htmlbody.
- 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
Post a Comment