I am trying to send data from a Word document to a web page. I have found some code, pasted it into a new module, and saved it. When I run it I get \"compile error, user def
You need to set a reference to Microsoft WinHTTP Services in your VBA Project (Tools -> References).
Here's what it would look like:
Also, you can read more about the Microsoft WinHTTP Services, version 5.1 here.