Tablecloth98
New Member
- Joined
- Nov 15, 2023
- Messages
- 16
- Office Version
- 2021
- Platform
- Windows
I'm trying to insert a table whose content are contained on a spreadsheet (Let's say within the range A1:D4 as an example) into an email. I've written the body out in HTMLBody format and have followed the instructions from this guide to insert the table: Convert Excel Range Into HTML Table Through VBA 2024
When I run the Macro however, it produces an error and highlights some lines of the function in red. I've copied and pasted this directly from the guide so I'm not sure why it isn't working. Does anybody know why it's producing the error?
When I run the Macro however, it produces an error and highlights some lines of the function in red. I've copied and pasted this directly from the guide so I'm not sure why it isn't working. Does anybody know why it's producing the error?