mbuder
08-18-2016, 02:55 AM
Hi Guys,
I've got a problem accessing a button from a sub/macro which was placed on a word document.
For a document template I've created a word document with 3 buttons (Properties, Save As, PDF). By pressing the button "Properties" a user form appears to enter all the required document properties. The "Save As" and "PDF" button should be disabled "not clickable" until the user form was processed successfully.
My problem here is that I can only access the "Properties" button properties from "ThisDocument" and not from my "UserFormDocProperties" where my macro is located that checks the content of all user form fields. (see screen shot attached)
16902
Any advice on how to do this would be great.
Thanks a lot
Mathias
I've got a problem accessing a button from a sub/macro which was placed on a word document.
For a document template I've created a word document with 3 buttons (Properties, Save As, PDF). By pressing the button "Properties" a user form appears to enter all the required document properties. The "Save As" and "PDF" button should be disabled "not clickable" until the user form was processed successfully.
My problem here is that I can only access the "Properties" button properties from "ThisDocument" and not from my "UserFormDocProperties" where my macro is located that checks the content of all user form fields. (see screen shot attached)
16902
Any advice on how to do this would be great.
Thanks a lot
Mathias