Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / November 2005

Tip: Looking for answers? Try searching our database.

Delete autotext

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Daniel - 22 Nov 2005 17:50 GMT
I managed to make a simple macro that places an autotext on every page on my
doc, the proceeds to print the doc.  

I would like to know how I can then delete the autotext from all the page
once printed.  

The "NormalTemplate.AutoTextEntries(strAnswer).Delete" command remove the
entry so that the AutoText no longer exist.  What I want is simply to delete
them from the pages of the doc while keeping the AutoText define so that it
can be reused as required?

Thanks for the help,

Daniel
Charles Kenyon - 22 Nov 2005 20:14 GMT
When you insert AutoText, you end up with ....
text. - or graphics, or fields, or whatever is in your AutoText entry.

So for later deletion you need to find what you inserted. You could perhaps
do this with bookmarks, but ...
if you want something on every page, why not put it in the header or footer?
Signature

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

>I managed to make a simple macro that places an autotext on every page on
>my
[quoted text clipped - 13 lines]
>
> Daniel
Doug Robbins - Word MVP - 22 Nov 2005 20:43 GMT
Use Edit>Replace and enter the autotext string in the Find what box and have
nothing in the Replace with box.

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

>I managed to make a simple macro that places an autotext on every page on
>my
[quoted text clipped - 13 lines]
>
> Daniel
Helmut Weber - 22 Nov 2005 20:43 GMT
Hi Daniel,

insertion of an autotext leaves no traces, IMHO.

If you want to be on the safe site,
you might have to create bookmarks for each insertion.

If you want a simple, rather limited
and rather dangerous solution,
clear the undo buffer, insert the autotexts,
print and undo all.

Signature

Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"


Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.