INFO: ????? ??? ???? XP Microsoft Office

?????? ????????? ?????? ?????????
???? ???????: 288542 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

??????

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

???? ???????? ??????? ?????? "??? ????" ????? ????? ????? ??? ??? ????? ????? ?? ????? ?????? ?? ????? ????????? ??????? ??? ?????? "???? ????" ?????? ??? ???? ??????? Office XP.

??????? ????

??? ???? Office XP ??? ??? ?? ???? CommandBar ???? ??????. ??? ???? ????? ??? ??? ????? ?? ??????? Office ???? ???? ?????? ????? ??? ?????? ????? ??????? ??? ??? ??? ??????. ????? ??? CommandBar ???? ???? ???? ???? ?????? ??????. ????? ?????? ??? ??? ????? ?? ????? ?????? ???????? ??? CommandBarControl. ??? ???? ??????? ???? ??? ?????? ??????? ?? "??? ????" ????? ??????? ??? ??? ???????:
MsgBox "The Active Task Pane Page = " & _ 
  Application.CommandBars("TaskPane").Controls(1).Caption
				
?? ????? ??? ???? ???? ????? ???? ????????? CommandBar ??? ??????? ? ?????? ? ??? ??? ? ??? "??? ????" ????. ??? ???? ???? ?????? ?? ??????? ???? ?? ???? ?????? ??? ?? ???? "??? ????" CommandBar. ???? ??? ??? ???????:
  • ????? "??? ????" ???? ????? ??????? ???? ?????? ??? ??? ??? ??? ?????? ??? ????? ??? ????? ???? ??? ?? ????? ??? ??? ???? ????? ??? ????? ??? ??????? ????? ???? ??????? ?????? ?? ????? ????? ???? ???????? ??? ?? ???????? ???? ????? ??? ?????.
  • ?????? ????? ???? ???? ??? "??? ??????" ???????? Commandbar.Controls.Add ??? ?? ???? ????? ????? ???????:
    ??? ??? ???????:-2147467259 (0x80004005)
    "??? ??? ????."
    ?? ???? ????? ?? ????? ?? ????? ????? ?? "??? ??????". ?????, ??? ????? ?? ???? ????? ????? ????? ??? ?????? "???? ????" ???????? ?????? NewFile (??????? ?????? ?? ??? ??????).
  • ?? ????? ????? ??????? Enabled.
  • ?? ????? ????? ?????? ?????? "??? ???? ??" ???? ?????? CommandBar (??? ?? ????? ??????? ?? ?????? "???? ????" ??? ???? ??????? ? ????? ??????). ??? ???? ???? Microsoft Word 2002 ?????? ?????? (Application.TaskPanes) ?????? ?? ?????? ?????? ??????? ???? ?????? ?????? ???. Word ?? ????? Office XP ??? ???? ???? ??? ?????????.

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

???? ???? ????? ?? "??? ??????" ???? ???? ?? ????? Office XP: ?????? "???? ????". ????? ??? ?????? ?? ???? ?????? "??? ????" ?? ????????? ??????? ?? Office. ??????? Office XP ?? ????? ??????? ?? ??????? ?? ??? ?????? ???? ???? ????? ????????? ?? ??????? ???? ???????? ?????? ????? ????. ?????? ????? ??????? ??????? ???? NewFile ???? ??? ????? ?????? ??? ????? ?? ??????? Office.

?????? ??? ???? NewFile ? ?????? ???? ??????? ??????? ???????? ?? ???? ???????. ????? ????? ????? ???????? ??? ????? Office ???? ??? ???? ??:

 Application  Property
 Microsoft Access  NewFileTaskPane
 Microsoft Excel  NewWorkbook
 Microsoft FrontPage  NewPageOrWeb
 Microsoft PowerPoint  NewPresentation
 Microsoft Word  NewDocument

??? ?????? NewFile ??????? ????? ? ????? ? ????? ???? ?? ????? ?????? ????? ????? ??? ????? ??? ???? "????? ???" ??? ????? ?? ??????? Office. ??? ???? ??????? ???????? ???????? ??????? ?????? ????? ???? ?? ?????? "????? ????" ????? "??? ???? ??? ????" ?? Word:
Sub AddNewDocToTaskPane()
    Application.NewDocument.Add FileName:="C:\NewDocument.doc", _
          Section:=msoNew, DisplayName:="Look! My New Document option"
    With Application.CommandBars("Task Pane")
      .Visible = False
      .Visible = True
    End With
End Sub
				
??? ????? ??? ???????? ???????? ???? ????? ???? ?? ??? ???? "????? ????" ???? ??? ????? ????? ???? ????? C:\NewDocument.doc. ?????? ??????? ??? ??????? Microsoft Excel 2002:
Sub AddNewWorkbookToTaskPane()
    Application.NewWorkbook.Add FileName:="C:\NewWorkbook.xls", _
          Section:=msoNew, DisplayName:="Look! My New Workbook option"
    With Application.CommandBars("Task Pane")
      .Visible = False
      .Visible = True
    End With
End Sub
				
??????: ????? ??????? ???? ??? ???? ??? ????? ????? ?????. ?? ???? ???? "??? ??????" ????? ?????? "???? ????" ??? ?????? ??? ??????? ?????? ???? ????????? ???????? ??? ??? ??? ????? ?? ?? ????? ?????? ??? ????.

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

?????

?????? ??? ???? ?? ????????? ??? ??????? "??? ????" ???? Visual Basic ?????? ??? ??????? ??? ?????? Applications (VBA) ????? NewFile.

???????

???? ???????: 288542 - ????? ??? ??????: 12/????/1428 - ??????: 3.2
????? ???
  • Microsoft Office XP Developer Edition
  • Microsoft Excel 2002 Standard Edition
  • Microsoft PowerPoint 2002 Standard Edition
  • Microsoft Word 2002 Standard Edition
????? ??????: 
kbmt kbinfo kbprogramming KB288542 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????288542

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

 

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