'修正了BUG,
Private Sub Workbook_Open()
Dim cbar1 As CommandBar
Dim cCtrol As CommandBarControl
On Error Resume Next
CommandBars("Openhelp").Delete
Set cbar1 = Application.CommandBars.Add(Name:="Openhelp", Position:=msoBarFloating)
cbar1.Visible = True
Set cCtrol = cbar1.Controls.Add(Type:=msoControlPopup)
With cCtrol
.Caption = "Openhelp"
.OnAction = "订制自己的帮助.xls!OpenHelp.OpenHelp"
End With
End Sub
**********************************
不过在原来的程序中查看立即窗口看到
[auto_open] <
[SetupFunctionIDs] <
[SetupFunctionIDs] >
[PickPlatform] <
[PickPlatform] >
[VerifyOpen] <
[VerifyOpen] > 1
[RegisterFunctionIDs] <
[RegisterFunctionIDs] >
[auto_open] >
不太明白,还请楼上的朋友或其他高手指教!
[此贴子已经被作者于2005-4-4 22:46:54编辑过] |