Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
enable right click
hello, I use the following code to hide all command bars in my excel file: Private Sub Workbook_Open() Dim oCB As CommandBar For Each oCB In Application.CommandBars oCB.Enabled = False 'here to change Next oCB mFormulaBar = Application.DisplayFormulaBar Application.DisplayFormulaBar = False End Sub but it also disable a mouse right click. Can anyone help how to enable right click when other command bars are hide. thanks a lot tommy -- tommy_gtr ------------------------------------------------------------------------ tommy_gtr's Profile: http://www.excelforum.com/member.php...o&userid=26089 View this thread: http://www.excelforum.com/showthread...hreadid=492981 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
enable right click
Hi Tommy,
Try: Application.CommandBars("Cell").Enabled = True --- Regards, Norman "tommy_gtr" wrote in message ... hello, I use the following code to hide all command bars in my excel file: Private Sub Workbook_Open() Dim oCB As CommandBar For Each oCB In Application.CommandBars oCB.Enabled = False 'here to change Next oCB mFormulaBar = Application.DisplayFormulaBar Application.DisplayFormulaBar = False End Sub but it also disable a mouse right click. Can anyone help how to enable right click when other command bars are hide. thanks a lot tommy -- tommy_gtr ------------------------------------------------------------------------ tommy_gtr's Profile: http://www.excelforum.com/member.php...o&userid=26089 View this thread: http://www.excelforum.com/showthread...hreadid=492981 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
enable right click
great :-))) it works ... Thank you tommy -- tommy_gtr ------------------------------------------------------------------------ tommy_gtr's Profile: http://www.excelforum.com/member.php...o&userid=26089 View this thread: http://www.excelforum.com/showthread...hreadid=492981 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to enable to click a checkbox? | Excel Discussion (Misc queries) | |||
enable Right-click menu | Excel Worksheet Functions | |||
how to enable right mouse click in the cell of excel 2007? | Setting up and Configuration of Excel | |||
How do i enable right click on excel? Mine doesn't work. | Excel Discussion (Misc queries) | |||
How do I enable the double-click drill down in Excel | Excel Discussion (Misc queries) |