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"
news:FA19C25E-F38E-4ED8-9858-C0FC666182D7@microsoft.com...
> Hi, thanks. I have now lost the instructions on how to put this code into
> a
> macro? what is that web link? thanks
>
> "Doug Robbins - Word MVP" wrote:
>
>> The following code in a macro will do what you want without the flaw with
>> the Control+Click routine.
>>
>> Selection.Sentences(1).Select
>> If Selection.Characters(1).Font.Superscript = True Then
>> While Selection.Characters(1).Font.Superscript = True
>> Selection.MoveStart wdCharacter, 1
>> Wend
>> Selection.MoveStart wdCharacter, 1
>> End If
>>
>> To see how to assign a macro to a hot key, see the article "How to assign
>> a
>> Word command or macro to a hot-key" at:
>>
>> http://www.word.mvps.org/FAQs/Customization/AsgnCmdOrMacroToHotkey.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"
>>
>> news:C040373C-72D3-445D-A3C3-E914D3B85D26@microsoft.com...
>> > Is there a way to create a macro using a simple keyboard shortcut that
>> > will
>> > only select one sentence quickly like control click does normally?
>> > Control+click has a serious flaw for use in a manuscript with a lot of
>> > endnotes at the end of sentences. It always selects not only the
>> > sentence
>> > clicked on, but also the previous endnote on the previous sentence. Is
>> > there
>> > a way to make it only selected the sentence at hand and not the
>> > previous
>> > endnote, with a keyboard macro. I use this control+click a lot on large
>> > mss
>> > with lots of endnotes.
>> >
>> > Note: control+click will not select, oddly eneough, spaces before a
>> > sentence
>> > or a bracket after a previous sentence's period, just an endnote number
>> > after
>> > the last sentence's period??
>>
>>
>>