Hide command button on word doc

Posted by d daly on Stack Overflow See other posts from Stack Overflow or by d daly
Published on 2010-05-11T07:34:35Z Indexed on 2010/05/11 8:04 UTC
Read the original article Hit count: 242

Filed under:
|

Hi

I have a .doc with a command button (cmdStart) which opens a form. After populating the form I click a button to close the form and populate the .doc.

I want to hide the initial cmdStart on the .doc as well when the form closes, Ive tries document.shapes(1).visible=false and cmdStart.visible=false but none seems to work.

Any ideas?

thanks (ps I cant just opne the form from the autonew, I need the cmdStart visible to begin with)

© Stack Overflow or respective owner

Related posts about word

Related posts about vba