|
-
January 11th, 2000, 01:30 AM
#1
"OnAction" property can't help me?!
Hi,
Recently I'm eager to solve a problem by VBA programming.When I designed and realized the solution in WORD2000, I thought I had almost finish my work. But after I copy the WORD template including the code to another computer which installed WORD97 but not WORD2000, I found it couldn't work normally. My goad is to add a commandbar into the WORD and when people click a button of 3 ones in that bar the code will precess respective function. But Office 8.0 Object Libraby don't support "WithEvents" definition. I can only add the buttons but can't make the button response the click event. I tried to solve the problem though "OnAction" property of Object(Office.CommandBarButton), but it can't work as MSDN said at all. I can't think of any effective method. So I need help. I hope u will understand my puzzleness.
Thank u . :)
Lucy.H.Zhang
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|