Post by pcfreak007I want put a button on 15 pages this button the next commando
must carry out, if I click on the button he the page where this button
on state must remove. there is someone who can me give the complete
code to let work to this button
p.s. I use MS Office 2000
Create a toolbar and the following macro. Add a button on your toolbar that
will execute the macro. All the user has to do is place the cursor anywhere
in the page to be deleted and click on the toolbar button. (You could add
the button to an existing toolbar). Much easier than adding 15 buttons....
By the way, I noticed that you posted this question several times during the
last few days and did not get any help.
Remember that we are all volunteers and that if someone ask for another
person to do his whole work for him.... then do not be surprised if nobody
is helping... This is a help network... this means the people being helped
have already done some work....The way you ask for helps lets us believe
that you haven't done any real work yet... or you would have a more specific
question...
Sub DeleteCurrentPage()
Selection.Bookmarks("\Page").Range.Delete
End Sub
--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
***@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org