??? ????????? ??????? AutoExec ? AutoOpen ?? Word

?????? ????????? ?????? ?????????
???? ???????: 286310 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

??????

????? ??????? ????? ??????? AutoExec ? AutoOpen ?? Word ????? ???????? ?????????? ?? ????? ?????????? ?? ???? ???? ? ??? ??? ??? ?? ????? Word ??? ????? ???? ?? ??? ????? ?????. ?????? ??? ??????? ????? ??? ????? ??????? ??? ? ??? ?? ????? ?? ??????? ????????.

??????? ????

AutoExec

????? ????? AutoExec ??? ??? ????? Word ??? ?? ??? ????? AutoExec ???? ?? ?????? ????????? (Normal.dot) ?? ??? ?? ???? ???? ?? ????? ?????? ??????. ???????? ????? AutoExec ???? ????? ??????? ??? ??? ????? Word ???? ??? ????? ????? ?? ???????. ??? ???? ??????? ????? ??????? ????? AutoExec ?????? ?????? ????????? ??? ??? ????? Word.

????? ????? ????? AutoExec ???? ???. ???? ????? ??? ????? Word ?? ??? ??????? ???????? /m ?? ??? ??????? / ???????. ??????? ???? ??????? ??? ?? ???? ??? ???? ? ?? ???? ??? ????? ? ???? ??? winword /m ?? winword / ??????? ? ?? ???? ??? ?????.

????? ??? ?? ?????? ???? ????? AutoExec ???? ??? ??????? Shift ????? ??? ????? Word. ??? ????? ??? ????? ??????? AutoExec ??? ??? ????? Word ?? ???? ???????.

AutoOpen

????? ????? AutoOpen ??? ??? ????? ????. ???? AutoOpen ??? ??? ????? ?????? ???????:
  • ?????? ????? ??? ?? ??????? ???.
  • ??????? ????? FileOpen ?? FileFind.
  • ????? ????? ?? ????? ???? ?????? ????????? (MRU) ?? ??????? ???.
??? ??? ????? ???? ????? AutoOpen ??? ?? ??? ??????? AutoOpen ???? ?? ??? ??????? ?? ??? ?? ??? ??????? ???? ?? ?????? ???? ????? ???? ???????. ?? ???? ????? AutoOpen ???? ???? ?? ????? ?????? ??????.

?? ???? ??? ????? AutoOpen ?? ??????? ?? ???? ????? ???????? ??? ??????? Shift ??? ??? ?????.

????? ????? AutoExec ?? ??? ????? AutoOpen

Word 2002 ?? Word 2003
  1. ????? ????? ???? ???? ?? Word.
  2. ?? ??????? ?????? ??? ??? ????? ? ?? ???? ??? ??????.
  3. ?? ???? ?????? "????" ? ???? ??? ????? ??????? ????? ?????? ?? ?? ?????? ?????. ???? ??? ????? ??????? ????? ?????? ???? ????? ???? ??????? ???????? ??????? ?????? ?? ???? ??? ?????.
  4. ????? ????? AutoExec. ?????? ????? ???? ??????? ???????:
    1. ?? ??????? ?????? ??? ??? ????? ? ?? ???? ??? ????? ????? ????.
    2. ?? ???? ?????? ????? ?????AutoExec ??? ??? ????? ???? ?? ???? ??? ?????. ?????????? ??? ??? ??????? ?? ?????? Normal. ???? ???? ????? ???? ????? ???? ??? ????? Word ?? ?? ???? ??? ??? Word ??? ??? ??????. ????? ?? ???? ????? ?? ???? ??? ???? ????? (????? ???????) ?????? ???????.
    3. ?? ??????? ?????? ??? ??? ????? ? ?? ???? ??? ????? ???????. ??? AutoExec ?? ??????? ????? ??????? ?? ???? ??? ?????.
    4. ?? ?????? ????????? ???????? ??????? ??? ????? AutoExec:
      MsgBox "You're seeing the AutoExec macro in action", vbMsgBoxSetForeground
      						
    5. ?? ??????? ??? ?? Microsoft Visual Basic Editor "? ???? ??? ???? ??? ?????? ???? Visual Basic.
  5. ???? ??? ??????? ???? ????? ??????? ????? AutoExec ?????? ??? ????? AutoOpen. ?????? ??? ????? ??????? AutoOpen ??????? ??????? AutoExec ?? ?? ????.
  6. ???? ??????? C:\Yourfile.doc ???? ??????? ?? ?? ?????? Word.
  7. ??? ??????? ?? Word ?????? ??????? ?????? ?????? ??????? ?? ?????? ?????. ???? ??? ????? ????? ??????? ? ????? ?? ??? ?????? ????? ???????.
?????? Word 2007
  1. ????? ????? ???? ???? ?? Word.
  2. ???? ??? ?? Microsoft Office ?? ???? ??? ?????? Word.
  3. ???? ??? ???? ??????????????????? ? ?? ???? ??? ??????? ??????? ???.
  4. ????? ????? ????? ??? ???? ???? ??? ??? ?? ???? ??? ????? ?????.
  5. ????? ????? AutoExec. ?????? ????? ???? ??????? ???????:
    1. ???? ??? ????? ??????? ?????? ?? ???? ??? ????? ????? ?? ???????? ??????? ??????.
    2. ?? ???? ?????? ????? ?????AutoExec ??? ??? ????? ???? ?? ???? ??? ?????. ?????????? ??? ??? ??????? ?? ?????? Normal. ???? ??? ????? ??????? ?? ???????? ??????? ??????.
    3. ??? ????? ??????? "??????" ? ???? ??? ????? ??????? ?? ???????? ??????? ??????. ??? AutoExec ?? ??????? ????? ??????? ?? ???? ??? ?????.
    4. ?? ?????? ????????? ???????? ??????? ??? ????? AutoExec:
      MsgBox "You're seeing the AutoExec macro in action", vbMsgBoxSetForeground
      						
    5. ?? "???? Visual Basic Microsoft" ? ???? ??? ??? ???? ?? ????? "???" ?? ?? ?????? ???? Visual Basic.
  6. ???? ??? ??????? ???? ????? ??????? ????? AutoExec ?????? ??? ????? AutoOpen. ?????? ??? ????? ??????? AutoOpen ??????? ??????? AutoExec ?? ?? ????.
  7. ???? ??????? .doc C:\ Yourfile ???? ??????? ?? ?? ?????? Word.
  8. ??? ??????? ?? Word ?????? ??????? ?????? ?????? ??????? ?? ?????? ?????? ?? ????? "??????? ???? ?? ?????? ?????". ???? ??? ????? ????? ??????? ????? ?? ??? ?????? ????? ???????.

???? ??????? ?? ????? ??????

???? ?????? ?????? ???? ????? ??????? ??? ????? ??? ??? ????? Word ?? ??? ??? ????? ????? ??????:
Action                                          AutoExec       AutoOpen
---------------------------------------------------------------------------
Start Word with a blank document by typing      Runs           Does not run
the following at a command prompt:
Winword.exe 

Start Word with a saved document by typing      Runs           Runs
the following at a command prompt:
Winword.exe C:\<Yourfile>.doc 

Embed a Word document in an OLE container       Does not run   Runs
by typing the following at a command 
prompt:
WinWord.exe /embedding C:\<Yourfile>.doc

Use code to automate Word and open              Does not run   Runs 
C:\<Yourfile>.doc by using the following 
code:
Set oWord = CreateObject("Word.Application")
oWord.Visible = True
oWord.Documents.Open "C:\YourFile.doc"

Browse to the document in Internet Explorer     Does not run   Runs
or the WebBrowser control
				

?????

?????? ??? ??????? ?????? ??? ????? ??????? ????????? ?? Word? ???? ??? ????? ???????? ??????? ?????? ?? "????? ??????? ?? Microsoft:
211659WD2000: ????? ??????? ????????? ?? Word
210565Word WD: ??? ??????? ????? (???) ? ?????? ??? ?????
(c) ??? ???? Microsoft ???? ???? ?????. ????????? ??? ??? Jensen ? Microsoft Corporation.

???????

???? ???????: 286310 - ????? ??? ??????: 11/???? ?????/1428 - ??????: 5.1
????? ???
  • Microsoft Office Word 2007
  • Microsoft Office Word 2003
  • Microsoft Word 2002 Standard Edition
????? ??????: 
kbmt kbhowto KB286310 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????286310

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com