Graham
Fri Feb 13 23:42:58 CST 2004
reply_to@newsgroup.please wrote:
>>>> You can lose it with a macro
>>>> Sub Autoexec()
>>>> CommandBars("Full Screen").Enabled = False
>>>> End Sub
>>>> See
http://www.gmayor.com/installing_macro.htm
>>>
>>> Is there an URL (besides the one below which I didn't quite
>>> understand) that explains how to input the Sub Autoexec() macro into
>>> Word? I did the Tool/Macro/Macros? then what?
>>>
>> Frankly I don't see how I could have made the instructions clearer.
>> The macro used as an example in the link is a macro called UpDateAll
>> - the one you are installing is called Autoexec - make the name
>> substitution in the item '1' and follow the pictured instructions.
>>
> The problem is me. I've never created a Macro before. So in Word XP
> I click Tools, Macro, Macros, then under Macro name I type Sub
> Autoexec() making sure its for all templates and documents. When I
> click Create it says Invalid Procedure Name. I've no idea where to
> input CommandBars("Full Screen").Enabled = False, End Sub.....
The macroname you type in at tools > macro > macros is Autoexec - not Sub
Autoexec() - then click 'create'
The macro editor will add the 'sub' and the () and also End Sub.
You either select these inserted lines and paste the code over them or add
the line
CommandBars("Full Screen").Enabled = False
between the sub and the end sub lines thus:
Sub Autoexec()
CommandBars("Full Screen").Enabled = False
End Sub
Any extra descriptive lines beginning with an apostrophe and displayed in
green can be ignored.
Click the 'save' icon on the toolbar and close the macro editor. Restart
Word which will run the macro.
--
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
Graham Mayor - Word MVP
E-mail gmayor@mvps.org
Web site www.gmayor.com
Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>