Export Word Table into Outlook Email Body
How can I edit the following code, in-which copies a table to clipboard, and then the coiped table iinserted into an outlook email body.
Code:
Private Sub CommandButton4_Click()
With ActiveDocument
.Tables(1).Range.Copy
.Range(1, 1).Select
ActiveDocument.Tables(1).Cell(2, 1).Select
End With
End Sub
Currently using word 2010 and outlook professional plus 2010
Export Word Table into Outlook Email Body without table border
Please advise if the code can be revised to remove the border that is displayed around the table in the body of the email.
Adding a dropdown for which table number to copy for emailing.
I have this code working and can change ActiveDocument.Tables(1).Range.Copy with any number in the ( ) to select that table from the document to send in the email. I would like a drop down to open when the macro is run to allow selection of which table to be copied. This could simply be by number or a nickname (preferred), then that number would populate ActiveDocument.Tables(x).Range.Copy and copy the correct table into the email body. TIA.