????? ?????? ??? ????? ???? ???? Office

?????? ????????? ?????? ?????????
???? ???????: 222101 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

??????

???? ??? ??????? ??????? ???????? ???????? ?????? ??????? Microsoft Office. ???? ????? ??? ????????? ??? ????? ?? ??? ??????? ?????? ?????? ????? Office. ???? ??? ?????? ????? ??? ????? ??? ????? ????????? ???????? "??????? ???????? ???? ??????? ???? ??????? ????? ?? ????????? ???? ??????? ?????? ???? ????? ???? ??????? ????????.

??????? ????

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

??? ????? ?????? ???? ???????? Office "????? ???" ???? ????????? ?? Office: Microsoft Office 97 Visual Basic ????? "????? ??? ?????????"
ISBN 1-57231-339-0

Microsoft Office 2000 Visual Basic ????? ????? ??? ?????????
ISBN 1-57231-955-0.
????? "????? ?????" ??? MSDN ? ?? ????????? ??????? ???? ???? ?? Microsoft Office. ???? ????? ???? ?????? ?? ??????? ???????. ?????? ??? ??????? ????? ? ?????? ?????:
http://mspress.microsoft.com
???? ?????? ?????? ????? "?????????" ??? ????? ?? ??????? Office.

?? ??? ??????????? ??? ??????
???????????? 97 (?? 8.0)??????? 2000 (?? 9.0)??????? 2002 (?? 10)??????? 2003 (?? 11)
????Vbaoff8.hlpVbaoff9.chmVbaof10.chmVbaof11.chm
??????Acvba80.hlpAcmain9.chmAcmain10.chm Vbaac10.chmACMAIN11.chm VBAAC10.chm
ExcelVbaXl8.hlpVbaxl9.chmVbaxl10.chmVBAXL10.chm
MapPointn/aMappoint.chm (ver.2001)Mappoint.chmMAPPOINT.chmn (Ver. 2004)
OutlookVbaoutl.hlpVbaoutl9.chmVbaol10.chmVBAOL11.chm
PowerPointVbappt.hlpVbappt9.chmVbapp10.chmVBAPP10.chm
WordVbawrd8.hlpVbawrd9.chmVbawd10.chmVBAWD10.chm
????? ???????Vbagrp8.hlpVbagrp9.chmVbagr10.chmVBAGR10.chm
FrontPagen/aVbafp4.chm Vbafpom4.chmVbafpd10.chm ? vbafpw10.chmVBAFPD10.chm VBAFPW10.chm
??????Vbabdr8.hlpVbabdr8.hlp???


??? ????? ????? "?????????" ???? ???? ?? Microsoft Office 97 ???? ??????? ??:
Office\Office Files\Microsoft C:\Program
??? ?? ????? ?? ?????? ??? ??? ??????? VBA 97 Office ????? ??? ???? ?? ??? ????? ????? ??? ?????? ?????? ??????? Office 97 ?????. ?????? ??? ????????? ????? ?????? ????? Office ????? ??? ??????? VBA. ???? ??? ????? ??? ??????? VBA 97 Outlook ?????? ?????? ????? Office. ?????? ??? ??????? ??? ????? ??? ??????? VBA 97 Outlook ?????? ?????? ??????? ??????? ?? "????? ??????? ?? Microsoft:
166738OL97: ????? ????? ??????? Visual Basic
??? ????? ????? "?????????" ???? ???? ?? Microsoft Office 2000 ???? ??????? ??:
Office\Office\1033 Files\Microsoft C:\Program
??? ????? ????? "?????????" ???? ???? ?? Microsoft Office XP ???? ??????? ??:
Office\Office10\1033 Files\Microsoft C:\Program
Office\Office11\1033 Files\Microsoft C:\Program
??????: Microsoft Office 2000 Microsoft Office XP ?????? ????? Microsoft Office 2003 ????? ????? ??????? VBA "??? ??? ???????." ????? ?? ?? ??? ??? ????????? ?? ??? ?????? ??? ??? ?? ??? ?????? ?????? ??? ??????? VBA ?? ??????? Office.

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

???? ?????? ?? ????? ???? ????? ??????? ????? ?? ????? ??? ????? ?? ????? ?? ?????:
  • ????? ?? ??? ??????? VBA:

    ?? ???? Visual Basic ????? ?? ??????? Office ? ???? ??? ????????? ??????? ??? ??????? ???????. ?? ??????? ??????? ? ??? ?????? ????? ???? ?????? ?? ???? ??? ???. ???? ??????? VBA ????? "????? ???" ???? ?????. ??? ??? ??????? ????? ??????? ???? ?? ????? ??????? ??? ?????? ???? ????????? ??? ??? ????? ?? ????? ?? ?????.
  • ??????? ??????? ???? ?????? ?? ???? ????? ?? ?? ??? ????:

    ?? ???? Visual Basic ????? ?? ??????? Office ? ???? ??? ?? ????? ?? ????? ?? ???? ????????? ???????? ????? ????? ?? ?? ???? ???? ?? ?????? ???? ????? ??????? F1. ???? ????? ????????? ????? ???????.
  • ??????? ?????? ????????:

    ???? ??? ??????? F2 ?? ???? Visual Basic ????? ????? Office ???? ?????? ????????. ?????? ???????? ???? ???? ???? ????? ?? ??????? ? ???????? ?? ??????? ???????? ?? ?? ???. ???? ????????? ??? ??? ????? ?? ??? ?? ??? ??? ?? "?????? ????????" ?? ???? ??????? F1.

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

??? ?? ??? ?????? ??? ????? ???? ???? ??????? ???? ????? ????? ??????? "???? ???????" ??????? ????? ????. ????? ???? ???? ????? Microsoft Word ?????? ?? ??? ????? ???? ?? ?? ???? ??????? ???? ?? ???? ?????? ?????? ????????; ????? ??? ????? ?? "???? ???????":
  1. ??? ????? Microsoft Word.
  2. ???? ??? "?????" ?? ????? "?????" ?? ?? ?????? ????? ????? ????. ???? ??? ??????? ?????? ?? ???? ??? ????? ???? ???????.
  3. ??? ????? ????? ????.
  4. ???? ???? ?? ???? ??????? ENTER.
  5. ???? ????? ?? ???? ??????? ENTER.
  6. ???? ?????.
  7. ???? ??? ??? ?? ??????? ??? ?? ??? ??????? ?? "C:\doc1.doc."
  8. ???? ??? ???? ????? ??????? (?? ???? ??? ????? ?? ??????? ????? ?? ??? ????? ???????).
  9. ???? ????????? ???????? ?? VBA ???? ??? ??????? "???? ???????" ?? ?????????, ???? ??? "?????" ?? ????? "?????" ???? ????? ???????. ??? ??? ??????? ?????? ?? ??????? ?? ???? ??? ?????. ???? ???? Visual Basic ?? ??????? ??????:
     Documents.Add
     Selection.TypeText Text:="one"
     Selection.TypeParagraph
     Selection.TypeText Text:="two"
     Selection.TypeParagraph
     Selection.TypeText Text:="three"
     ActiveDocument.SaveAs FileName:="Doc1.doc", FileFormat:=wdFormatDocument,_
       LockComments:=False, Password:="", AddToRecentFiles:=True, _ 
       WritePassword:="", ReadOnlyRecommended:=False, _
       EmbedTrueTypeFonts:=False, SaveNativePictureFormat:=False, _
       SaveFormsData:=False, SaveAsAOCELetter:= False
    					
????? ?? ?????? ???? ???? ?? ??? ????? ?????? ??? ??? ??? ????? ?????? ?? ???? ??? ????? ?????? ???? ?????? ?????? ???????.

???? ??? ????? ????? ?? ??????? ??????: Documents.Add. ????? ????????? ??? ?????? ??????? ????????? ???????? ??????? ?????? ?? ???? ??????? F1. ???? ????? "???????" ????????? ?????? ???????:
  • ????? "????? ?????????" ?????? ??????? ???? ???? ???? ????????? ????????.
  • ????? ??? "????? ?????????" ???? ???????.
?????? ??? ??????? ??????? ????? ????? ??? ?????? ??????? ????????? ???????? ????? ??????? F1. ???? ????? "???????" ???? ?? ????? ????? ?????? ?? ?????? ??????. ???? ??? ????????? ???? ????????? ?????? ??????? Add ???????? ?????????. ???? ????? "???????" ????????? ?????? ???????:
  • "????? ?????" ????? ????? ???? ???? ??? ?????? ????????? ????????.
  • ???? ?? ?????? "????? ?????" ????????? ?? ????? ????????.
???? ?? ???? ????? ?????? ?? ??????? ??????: ?? Selection.TypeText: = "????". ????? ??????? ??? ?????? ??????? ????????? ???????? ?? ???? ??????? F1:
  • "????? ?????" ?????? ???? ??????? ???? ???? ???? ???? ?? ???? ???????.
  • "????? ?????" ????? ??? ???? ???????.
?????? ??? ??????? ??????? ????? TypeText ??? ?????? ??????? ????????? ???????? ????? ??????? F1:
  • "????? TypeText" ????? ???? ??????.
  • ????? "TypeText ???????" ???? ????? ?????? ?? ????? ?????.
  • "????? TypeText" ????? ??? "???? ???????".
??? ???? ???? ????? "???????" ?????? ??? TypeParagraph:
  • ????? "????? TypeParagraph" ???? ????? ?????.
  • "????? TypeParagraph" ????? ??? "???? ???????" ????? ???? ?????.
???? ?? ?????? "?????????" ?? ??????? ActiveDocument ??????? SaveAs:
  • "ActiveDocument ???????" ?????? ???? ????? ???? ??????? ?? ???????. "ActiveDocument" ????? ??? ???? ???????.
  • "??????? SaveAs" ???? ?????. ???????? ??? ????? Word ???? ??? ??????? ?? 11 ??? 16 ???????? ????? ??? ?? ???? ?????. "??? ????" ????? ??? ???? ?????.
?? ???? ???? ?????? ?? ??????? ????????? ??????? ??????? ???????? ActiveDocument ?? ???? ??????? ???? ????? ??? ???? ??????? ???? ??? ??? ??? ??????? ?? "?????" ?? ??????? ??????. ?????? ????? ???? ????????? ????? ??????? ??? ?? ???? ???? ??? ????? ??? ????? ????????? ???????? ?? ????? VBA. ??? ??? ?????? ??? ????? ????????? ???????? "??????? ????????; ???? ??????? ????????? ??? ?? ???? ?????? ???? ???? ?? ????????? ???????? ??????? ????????.

??? examination ??????? ??????? ???? ?? ??????? SaveAs ?? ????? ???? ???? wdFormatDocument ???? ????. ???????? ??? ??? ??????? ?????? ???? ???? ??????? ???????? ?? ????? ??? ????? ???? ????? ??????? ???????. ?? ???? ????? "???????" ?????? ??? ??????? SaveAs ??? ????????? ???? ????? ?????? ???? ?? "?????? ????????". ???? ??????? F2 ???? ?????? ????????. ???:

wdFormatDocument

?? ???? ????? ?? ???? ????? ??????? ???????. ?? ????? ?????? ?? ?????? ???????? "? ???? ??????? ?????? wdFormatDocument(=0) ???????? ??? ??????? ???? ??? ??????.

?????

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

???? ????????? ???????? ???? groundwork ???? ?????? ????????? ???????? "??????? ????????. "????? ??????? ?? Microsoft" ???? ?????? ????? ?? ????? ????????? ???????? ??????? ???????? ???? ?? ??????? ?? Visual Basic ? Visual C++ ? MFC. ???? ??? ???:

???????? Visual Basic

????? ?? ?????????? ???? ??? ????? ???????? ??????? ?????? ?? "????? ??????? ?? Microsoft:
220595????? ????? Outlook ???????? Visual Basic
219151????? ????? Microsoft Excel ?? Visual Basic
147650????? ?????? ?????? Excel ?? Visual Basic
142387????? ????? ??????? ???????? ?? OLE/w ????? Excel ?? Visual Basic
184974????? ??????? "??????? ????????" (OLE) "?? Word
220607??? ???? Microsoft Word ?????? ??? ????????? ?? Visual Basic
222929????? ????? PowerPoint ???????? Visual Basic ?? Office 2003 ? Office XP ?????? ? Office 2000 ??????

???????? C++ ???? (???????? MFC)

????? ?? ?????????? ???? ??? ????? ???????? ??????? ?????? ?? "????? ??????? ?? Microsoft:
178749????? ????? ????? ??????? ???????? ???????? MFC "?" ????? ???
179706????? ??????? MFC ????? Excel ?????? ???????? ???? ????
186120????? ??????? MFC ????? Excel ????? ???? ??????
186122????? ??????? MFC ????? Excel 2000 ??? Excel 2002 ?????? ??? ???? ?? ???? ?? Excel 2000 ??? Excel 2002
220911??? ???? Microsoft Word ?????? ??? ????????? ???????? Visual C++ ? MFC
222960????? ????? PowerPoint ???????? 5.0 Visual C++ ?? Visual 6.0 C++ ?? "???? Foundation Microsoft"

???????? C/C++ (???? MFC)

????? ?? ?????????? ???? ??? ????? ???????? ??????? ?????? ?? "????? ??????? ?? Microsoft:
216686????? ????? Excel ?? C++ ???? ??????? MFC ?? #import
181473????? ??????? ????? OLE ?? ??????? C ????? ?? C++

???? J ++ ????????

????? ?? ?????????? ???? ??? ????? ???????? ??????? ?????? ?? "????? ??????? ?? Microsoft:
219430????? ?????/????? ???? Excel ???????? ??????? ???????? Visual J ++
215484????? ????? PowerPoint ???????? Visual J ++ 6.0

???????? FoxPro ???????

????? ?? ?????????? ???? ??? ????? ???????? ??????? ?????? ?? "????? ??????? ?? Microsoft:
142193????? ??????? ????? OLE ?????? ???????? ??? Excel ????
180901????? ????? ???? ????? ?? Word 97 ?? ?? Office Word 2003 ?? Visual FoxPro ?? Windows 5.0 ?????????? ??????
181926????? ??? ????????? ??? Word ???????? OLE ?ODBC ?????
194306??? ???? ??? Word ????? ?????? ???????? ??????? ???????? ?? OLE ?? Visual FoxPro
230154????? ????? PowerPoint ???????? Visual FoxPro
241942????? ??? ??? ??????? ?? Word ?? ??????? BackgroundPrintingStatus
?????? ??? ???? ?? ?????????? ??? ?? ??? ????????? ???????? ???????? ?????? Microsoft Office? ?? ?????? ???? Microsoft ?????? ??? ?????:
http://support.microsoft.com/gp/ofd

???????

???? ???????: 222101 - ????? ??? ??????: 20/????/1426 - ??????: 6.4
????? ???
  • Microsoft Office 2003, All Editions
  • Microsoft Visual Basic 4.0 Professional Edition
  • Microsoft Visual Basic 5.0 Professional Edition
  • Microsoft Visual Basic 6.0 Professional Edition
  • Microsoft Visual Basic 4.0 Enterprise Edition
  • Microsoft Visual Basic 5.0 Enterprise Edition
  • Microsoft Visual Basic Enterprise Edition for Windows 6.0
  • Microsoft Visual C++ 4.0 Professional Edition
  • Microsoft Visual C++ 5.0 Professional Edition
  • Microsoft Visual C++ 6.0 Professional Edition
  • Microsoft Visual J++ 6.0 Standard Edition
  • Microsoft Visual Studio .NET 2002 Professional Edition
  • Microsoft Visual Studio .NET 2003 Professional Edition
  • Microsoft Access 2002 Standard Edition
  • Microsoft Access 2000 Standard Edition
  • Microsoft Access 97 Standard Edition
  • Microsoft Excel 2002 Standard Edition
  • Microsoft Excel 2000 Standard Edition
  • Microsoft Excel 97 Standard Edition
  • Microsoft FrontPage 2002 Standard Edition
  • Microsoft FrontPage 2000 Standard Edition
  • Microsoft Outlook 2002 Standard Edition
  • Microsoft Outlook 2000
  • Microsoft Outlook 97 Standard Edition
  • Microsoft Outlook 98 Standard Edition
  • Microsoft PowerPoint 2002 Standard Edition
  • Microsoft PowerPoint 2000 Standard Edition
  • Microsoft PowerPoint 97 Standard Edition
  • Microsoft Word 2002 Standard Edition
  • Microsoft Word 2000 Standard Edition
  • Microsoft Word 97 Standard Edition
  • Microsoft Visual FoxPro 5.0a
  • Microsoft Visual FoxPro 6.0 Professional Edition
  • Microsoft MapPoint 2002 Standard Edition
  • Microsoft MapPoint 2001 Standard Edition
????? ??????: 
kbmt _ik11561 _ik11593 kbautomation kbgrpdso kbhowto kbvba kbvbp400 kbvbp500 kbvbp600 KB222101 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????222101

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

 

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