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 / April 2007

Tip: Looking for answers? Try searching our database.

Assigning a Macro to object, textbox, etc.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
expect_ed - 11 Apr 2007 23:26 GMT
Is there a way to assign a macro to an object or text box or even hyperlink
text within the body of Word?  I'm used to simply adding a command button on
the sheet in Excel, but does not seem to be an equivalent in word.  I was
excited when I found the drop down on the floating textbox toolbar that led
to the customize dialog, but that turned out to be just for the toolbars.  I
could not see any way to attach it to the textbox.

My macro turns hidden text on and off.  Distributing the solution with a
button embedded in the text would be more obvious than a toolbar button.

Any help appreciated
TIA
ed
Jean-Guy Marcil - 12 Apr 2007 00:51 GMT
expect_ed was telling us:
expect_ed nous racontait que :

> Is there a way to assign a macro to an object or text box or even
> hyperlink text within the body of Word?  I'm used to simply adding a
[quoted text clipped - 7 lines]
> with a button embedded in the text would be more obvious than a
> toolbar button.

Would this embedded object need to be removed at printing time?

Signature

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org

expect_ed - 13 Apr 2007 14:20 GMT
Doesn't matter, prefer it be non-printing but I can handle that.

> Would this embedded object need to be removed at printing time?
Rob - 12 Apr 2007 15:58 GMT
View->Toolbars->Control Toolbox. There's a command button and such just like
in Excel. I use them all the time.
expect_ed - 13 Apr 2007 14:28 GMT
That's what I needed.  Thanks for the pointer.
ed

> View->Toolbars->Control Toolbox. There's a command button and such just like
> in Excel. I use them all the time.
 
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.