For my purposes I only want to generate the chart for another report so I can just do it in the form and export it. I've copied the chart into a form alright.
I added a control button and put your code into the on click event and get a compile error at:
Public Const wdPasteOLEObject = 0
In...
I think I understand the first part, I put that code in a module to put it in the clipboard.
Then I want to put it in Word. What do I do with that second code. In fact for my purposes I actually want to put it in Word as an object and then copy this object from Word to Publisher manually...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.