i have created HTML page using word
in word i have placed a button and in click event i have placed a code in vbe.
for this i right click on button , view code and have placed a code
Private Sub CommandButton1_Click()
MsgBox "AAAA"
End Sub
and saved document , which is test.mht
now when i double click on that mht it opens in IE6 and when i click on button, nothing happens, but i go in editor mode ie. from word it runs perfect
can anyone tell me what's wrong with it.
above is just an example , what basically i want to do is i want to develope a tool, where i want to use some functions and procedure by inputing some values and results are displayed on HTML page again
Thanx in Advance
in word i have placed a button and in click event i have placed a code in vbe.
for this i right click on button , view code and have placed a code
Private Sub CommandButton1_Click()
MsgBox "AAAA"
End Sub
and saved document , which is test.mht
now when i double click on that mht it opens in IE6 and when i click on button, nothing happens, but i go in editor mode ie. from word it runs perfect
can anyone tell me what's wrong with it.
above is just an example , what basically i want to do is i want to develope a tool, where i want to use some functions and procedure by inputing some values and results are displayed on HTML page again
Thanx in Advance