klav was telling us:
klav nous racontait que :
I have a macro that I use to view and print specific kinds of
documents; the user is not able to edit or save these documents. The
user is able to set the margins for these documents because I have a
toolbar with a button that displays the page setup dialog. I would
like to remove the default button from the page setup dialog because
I have another macro that enables them to use the current margins for
all documents of this type. So I wanted to utilize the existing page
setup word dialog but remove the Default button that is on it and
replace it with my own button.
If all you want the user to be able to do is change the margins (kind of
strange since they cannot edit-save the document...), then it would be
better/easier to build you own dialog box that will allow users to do only
that.
--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site:
http://www.word.mvps.org