Marek was telling us:
Marek nous racontait que :
Hello!
I wrote a macro, that will save dokument from template to .doc
I'm trying to do it by button. But when i'm putting the button into
.dot, option "Protect form" is invisible.
What can i do?
Normally, you don't need a macro for that. Users double click on a *.dot and
a *.doc ids automatically created.
I think you would benefit by trying to explain what you want to achieve.
Maybe you are creating a template for users to modify and for them to
generate documents for distribution based on the changed template? Even in
that case, a button is not the way to go because the documents generated
that way will also have the button...
In any case, the reason the option is greyed out is that you are in design
mode. As soon as you insert an ActiveX control, Word automatically goes in
design mode so that you can configure your ActiveX, like your button.Click
on the first button on the Controls toolbar to quit Design mode.
Personally, I avoid ActiveX control like the pest (In five years I have use
them once, and only for "show" I could have use a MACROBUTTON field instead.
--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site:
http://www.word.mvps.org