Doug
Mon Aug 25 03:28:53 PDT 2008
See the article "What do I do with macros sent to me by other newsgroup
readers to help me out?" at:
http://www.word.mvps.org/FAQs/MacrosVBA/CreateAMacro.htm
--
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
"removing all headers and footers"
<removingallheadersandfooters@discussions.microsoft.com> wrote in message
news:EF91753C-CFAF-42AC-A2E7-246B5F379A86@microsoft.com...
> Hi, I tried to create this in visual basic, but must be doing it wrong.
> What
> is the tutorial on how to do this? thanks, JF
>
> "Doug Robbins - Word MVP" wrote:
>
>> They sound like Comments that have been inserted using Insert>Comment.
>>
>> If that is correct, and you run a macro containing the following code, it
>> will insert the comment into the text of the document, enclosing it in
>> square brackets [ ]
>>
>> Dim ac As Comment
>> With ActiveDocument
>> For Each ac In .Comments
>> ac.Reference.InsertAfter " [" & ac.Range & "]"
>> ac.Delete
>> Next ac
>> End With
>>
>>
>> --
>> 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
>>
>> "removing all headers and footers"
>> <removingallheadersandfooters@discussions.microsoft.com> wrote in message
>> news:B7093D5F-51D7-4AE7-8242-8BB74DBC1AD3@microsoft.com...
>> >I have been sent a text MS Word 2003 file from my publisher that
>> >appears
>> >to
>> > have the endnotes of a long text chapter listed at the end (not
>> > imbeded)
>> > but
>> > set/formatted in some odd sort of table styles that scroll off the text
>> > to
>> > the right off the page and that have an odd square character at the
>> > front
>> > of
>> > each note. Each note has lines around it.
>> >
>> > I have absolutely no experience with Word table styles, and just want
>> > to
>> > get
>> > rid of this table formatting entirely, to get normal text.
>> >
>> > The styles pane lists many kinds of table styles. How do I get rid of
>> > ALL
>> > of
>> > them from the text? thanks.
>> >
>>
>>
>>