很多人找不到一些常用工具,其实都在自定义中。 找出来后放于快速访问栏是一种方法,放于右键中也是一种方法 
Private Sub Workbook_SheetBeforeRightClick(ByVal Sh As Object, ByVal Target As Range, Cancel As Boolean) Application.CommandBars("cell").Reset Application.CommandBars("cell").Controls.Add Type:=msoControlButton, ID:=457 Application.CommandBars("cell").Controls.Add Type:=msoControlButton, ID:=443 Application.CommandBars("cell").Controls.Add Type:=msoControlButton, ID:=442 Application.CommandBars("cell").Controls.Add Type:=msoControlButton, ID:=282 Application.CommandBars("cell").Controls.Add Type:=msoControlButton, ID:=283 Application.CommandBars("cell").Controls.Add Type:=msoControlButton, ID:=364 End Sub
[此贴子已经被作者于2007-8-4 8:20:15编辑过] |