|
-
Feb 5th, 2004, 06:51 AM
#1
Thread Starter
Member
Getting word to open VB form
Heya all...
Im trying to make a buttom in word (in the toolbar) that will open a VB form, anyone have any ideas how to do that ?
Best Regards
Garn
-
Feb 5th, 2004, 08:54 AM
#2
Frenzied Member
Do you mean start a VB app? That would be the Shell command.
-
Feb 6th, 2004, 04:03 AM
#3
Thread Starter
Member
-
Feb 6th, 2004, 09:51 AM
#4
Frenzied Member
From VBA Help File:
VB Code:
' Specifying 1 as the second argument opens the application in
' normal size and gives it the focus.
Dim RetVal
RetVal = Shell("C:\WINDOWS\CALC.EXE", 1) ' Run Calculator
Look it up, it's pretty straightforward. If the app is already open but not active, you can use the AppActivate command.
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
|