Word document to outlook maill body

Hi every one
My client requirement is ms word document table attached to outlook body and send to mail
please advice this

@SrenivasanKanna @Palaniyappan @mukeshkala

2 Likes

hi @narendra_katteboina,

There are 2 Ways we can Do it .

  1. Using Hotkey Automation

---- Getting the Data ----
a. Open the Word File.
b. Send hotkey : Ctrl+G to go the Table
c. Send Hotkey : Ctrl +C - This will copy the Data in Clipboard.

-----Pasting the Data ------
d. Now we can Paste the Data directly in the email

OR

e.we paste in Excel - We will Read the Same Excel and get the Data in a DataTable.
f. Now Write the Datatable in Email

  1. Programmatic Read the Word Table - get the DataTable and Paste it in Email.

There is a sample Code attached in the above link , have a look at it .


Mukesh

2 Likes