what vba coding would i have to put behind a button that i have created in word,that when pressed will fire off an application that i have made how do you do it?????
i know it can be done bu how??
please help me.
:( :( :( :eek: :eek:
Printable View
what vba coding would i have to put behind a button that i have created in word,that when pressed will fire off an application that i have made how do you do it?????
i know it can be done bu how??
please help me.
:( :( :( :eek: :eek:
Hi Johnny23,
For word 97 you can code
(assumption your exe file is rnd.exe)
Private Sub CommandButton1_Click()
x = Shell("c:\windows\desktop\rnd\rnd.exe", vbHide)
End Sub
Does it help ?
Keiko