where did my code go???

L

laptop

i created a nice word-doc with some command-buttons, option buttons, etc..
i saved it as a webpage, but none of the buttons work!
where did my code go??

yikes-
mike g
 
D

Dave

probably still in your word doc. word macros (at least in recent versions)
are vba. vba is not a web thing so it couldn't save it to the html. if you
want to get fancy on web design use something like frontpage or visual
interdev or vs 2003 or later.
 
M

mpg

Oh..... Thank you for your reply.
i was reading and discovered there are 'web' controls on a special menubar
in Word.
Do you know if there is a command-button somewhere? it doesn't show one.
 
D

Dave

probably not, a command button would be meant to run vba code which would
require that the user was running word, which when they are viewing a web
page they are not. the submit button would send whatever was on the form to
your web server for action on your end. if you want some kind of action on
the user end from a button you will have to look into vbscript, javascript,
or java itself.
 
M

mpg

thank you very much, appreciated.
mg

Dave said:
probably not, a command button would be meant to run vba code which would
require that the user was running word, which when they are viewing a web
page they are not. the submit button would send whatever was on the form
to your web server for action on your end. if you want some kind of
action on the user end from a button you will have to look into vbscript,
javascript, or java itself.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top