Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.word.vba.general,microsoft.public.excel.programming
|
|||
|
|||
![]()
I am looking for some sample VBA code to:
Monitor an existing standard toolbar button in Word or Excel. When clicked, perform a short VBA routine to insert some text into the document at the current position. And also please explain terminology or point me to a tutorial. Also, a little newbie tutorial on the while subject would help me greatly. Thank you. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am looking for some sample VBA code to:
Monitor an existing standard toolbar button in Word or Excel. When clicked, perform a short VBA routine to insert some text into the document at the current position. And also please explain terminology or point me to a tutorial. Also, a little newbie tutorial on the while subject would help me greatly. Thank you. What you need to do with built-in menus is referred to as "hooking" the menu so it runs your code instead of executing its normal action. Take a look at some of my examples under the topic "Automatic cursor move" posted by Michel Gauthier on Mar 14th here in this newsgroup (microsoft.public.excel.programming). The procedure named 'ToggleMenuHooks' is what to look at... -- Garry Free usenet access at http://www.eternal-september.org Classic VB Users Regroup! comp.lang.basic.visual.misc microsoft.public.vb.general.discussion |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Standard Toolbar buttons disappear. | Setting up and Configuration of Excel | |||
Shortcuts for toolbar buttons/view code of toolbar buttons | Excel Programming | |||
Shortcuts for toolbar buttons/view code of toolbar buttons | Excel Programming | |||
How can you replicate macros for buttons on the Standard toolbar? | Excel Discussion (Misc queries) | |||
custom toolbar buttons are saved where? Excel loads twice bymistake and all my custom toolbar buttons get gone!!! | Excel Programming |