![]() |
#1
|
|||
|
|||
![]()
I am using Word 2013.
I am quite used to VBA in Excel, and now, in my Word-document, I wanted to display a userform, containing a textbox, and then let the user type text in the textbox and then enter this text into the Word-document. I found the ActiveX command button control under the developer tab, so I inserted a command button in my document. The only code attached to the command button was a call to a VBA-macro to display my form (Userform1.show). It worked at first. I clicked the button, the form was displayed. I added some text to the textbox and clicked my commandbutton on my form. The text was inserted into the document. However, the ActiveX command button disappeared too. What did I do wrong? Grateful for any hints. Bengt |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Click on a message and it disappears, refresh and it is back | MichaelParsons | Outlook | 0 | 02-01-2013 05:31 PM |
activex command buttons and text boxes | TRG | Word | 0 | 02-03-2012 09:18 AM |
Word doc bug when closing from userform command button click macro | Joe Patrick | Word | 1 | 07-05-2011 08:53 PM |
![]() |
cksm4 | Word VBA | 7 | 02-27-2011 08:47 PM |
Add-In:How to add command right click command bar | phang | Outlook | 0 | 01-15-2007 02:53 AM |