The problem I am having with the code below seems to be with its "reusablity" with subsequent Command Buttons. The code "works fine...lasts a long time" with the initial Command Button it is assigned to...
but when I copy and paste it to another Command Button I get either a 'Compile Error'...
I am still stuck with my problem...The code that I generated for a Command Button <cmdImpResTer> works great.
It CREATES an instance of WORD...OPENS the specified document...then goes to the specified page...wdGoToPage.
My problem is that when I use the code again for another Command Button...
Below is the code that I am using to CREATE an instance of WORD, if none exists…then OPEN the specified document…then GoTo the specified page.
The code is activated from the ‘click’ event of a Command Button that is inserted into a Visio drawing.
The purpose of the Command Button is to allow...
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.