Excel Fox
Down loaded your calendar - thanks - how did you add the Calendar choice when you right_click on a cell _ I posted that question on MrExcel - never got any answers - can you show that piece of code?
Thanks
Excel Fox
Down loaded your calendar - thanks - how did you add the Calendar choice when you right_click on a cell _ I posted that question on MrExcel - never got any answers - can you show that piece of code?
Thanks
xl2007 - Windows 7
xl hates the 255 number
Here's the code Rasm
Code:Private Sub AddOnRightClick() On Error Resume Next Dim cbrButton As CommandBarButton With Application .CommandBars("Cell").Controls("Calendar").Delete Set cbrButton = .CommandBars("Cell").Controls.Add(Temporary:=True, Before:=1) End With With cbrButton .BeginGroup = True .Style = msoButtonIconAndCaption .Caption = "Calendar" .FaceId = 125 .OnAction = "ShowCalendar" End With Set cbrButton = Nothing On Error GoTo 0 End SubCode:Private Sub DeleteOnRightClick() On Error Resume Next With Application .CommandBars("Cell").Controls("Calendar").Delete End With On Error GoTo 0 End Sub
A dream is not something you see when you are asleep, but something you strive for when you are awake.
It's usually a bad idea to say that something can't be done.
The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve
Join us at Facebook
Cool - this works nicely - sweet.
xl2007 - Windows 7
xl hates the 255 number
Here is a link to a bunch of different .FaceId values.
http://www.outlookexchange.com/artic...InOLKIcons.asp
xl2007 - Windows 7
xl hates the 255 number
Bookmarks