Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / July 2005

Tip: Looking for answers? Try searching our database.

No msg box by clicking a command button on a saved Word document

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
cjeffwang@gmail.com - 16 Jul 2005 18:41 GMT
I followed a VBA tutor to create a command button on a Word document.
After exiting VB editor and turning off Design Mode, I can see the
"Hello" msg box by clicking the command button.

However, after re-opening the saved Word document, clicking the command
button did not show the Hello msg box.

How to fix the problem with the 'Command Button' on the Word document?

TIA.
Jeffrey
Anne Troy - 16 Jul 2005 18:57 GMT
Jeffrey: Do you have your Macro security settings on high?
Tools-->Macro-->Security.
*******************
~Anne Troy

www.OfficeArticles.com

> I followed a VBA tutor to create a command button on a Word document.
> After exiting VB editor and turning off Design Mode, I can see the
[quoted text clipped - 7 lines]
> TIA.
> Jeffrey
cjeffwang@gmail.com - 16 Jul 2005 22:50 GMT
Yes, I checked the Tools-->Macro-->Security, High is selected. Clicking
the command button (single or double click) did not show any msg box.

Thanks,
Jeffrey
Anne Troy - 17 Jul 2005 01:09 GMT
Exactly. When your security is set on high, the macros won't run. Set it to
anything else...
*******************
~Anne Troy

www.OfficeArticles.com

> Yes, I checked the Tools-->Macro-->Security, High is selected. Clicking
> the command button (single or double click) did not show any msg box.
>
> Thanks,
> Jeffrey
Anne Troy - 17 Jul 2005 01:10 GMT
Oh, and Jeff... you have to open the document AFTER your security is set
down.
> Yes, I checked the Tools-->Macro-->Security, High is selected. Clicking
> the command button (single or double click) did not show any msg box.
>
> Thanks,
> Jeffrey
cjeffwang@gmail.com - 17 Jul 2005 03:10 GMT
Anne,

Thank you very much.     -- Jeffrey
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.