G Guest Jan 27, 2005 #1 Is is possible to customize the right click menu in Excel or any other office application?
G Guest Jan 27, 2005 #2 Yes, here is some example code Sub addmenu() Set nbar = Application.CommandBars("Cell") Set ntrnew = nbar.Controls.Add ntrnew.Caption = "Right Click" ntrnew.Visible = True ntrnew.BeginGroup = True ntrnew.FaceId = 110 ntrnew.OnAction = "Proceduretobeexecuted" Set nbar = Nothing Set ntrnew = Nothing End Sub http://HelpExcel.com
Yes, here is some example code Sub addmenu() Set nbar = Application.CommandBars("Cell") Set ntrnew = nbar.Controls.Add ntrnew.Caption = "Right Click" ntrnew.Visible = True ntrnew.BeginGroup = True ntrnew.FaceId = 110 ntrnew.OnAction = "Proceduretobeexecuted" Set nbar = Nothing Set ntrnew = Nothing End Sub http://HelpExcel.com