Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 139
Default right click menu

how can i add the options for print, print preview and save as to the right
click menu in excel 2007? were these opitons in the default right click menu
in excel 2003? thanks.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default right click menu

No they are not in the menu in 2003

print, print preview and save as

You can use

Ctrl-p
Ctrl -F2
F12

To do this also

But if you want to add it you can do this

Sub AddToCellDropDown()
Dim CellDropDown As CommandBar

RemoveFromCellDropDown

Set CellDropDown = Application.CommandBars("Cell")
With CellDropDown
.Controls.Add Type:=msoControlButton, ID:=4
.Controls.Add Type:=msoControlButton, ID:=109
.Controls.Add Type:=msoControlButton, ID:=748
End With
End Sub

Sub RemoveFromCellDropDown()
Dim CellDropDown As CommandBar

Set CellDropDown = Application.CommandBars("Cell")
On Error Resume Next
With CellDropDown
.FindControl(ID:=4).Delete
.FindControl(ID:=109).Delete
.FindControl(ID:=748).Delete
End With
On Error GoTo 0
End Sub



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm




"tina" wrote in message ...
how can i add the options for print, print preview and save as to the right
click menu in excel 2007? were these opitons in the default right click menu
in excel 2003? thanks.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Undo button in the context menu (right click menu) Madiya Excel Programming 7 April 7th 08 04:33 PM
Custom Context menu (Right click menu) not working in sheet changeevent. Madiya Excel Programming 3 February 11th 08 01:24 PM
Add menu item to right-click menu [email protected] Excel Programming 1 July 15th 06 10:32 AM
Adding a menu item right click menu when clicking on a single. Andoni[_28_] Excel Programming 0 September 2nd 04 10:23 PM
Adding menu to the mouse right click pop-up menu Jack Excel Programming 1 February 12th 04 05:23 AM


All times are GMT +1. The time now is 06:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"