Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi There,
I would like to set a "picture" on a Subitem ... but I bug on: "PasteFace"! === Method PasteFace of object "CommandBarButton" failed! Using XL97SR2 - I cannot use PasteFace method on Subitems? Any Ideas? Sige Sub AddShortCuts() Dim cb As CommandBar, Item As CommandBarControl, Subitem As Object ThisWorkbook.Sheets(1).Pictures("Picture 8").Copy Set cb = Application.CommandBars("Cell") 'item Set Item = cb.Controls.Add(Type:=msoControlPopup,temporary:=T rue) With Item .BeginGroup = True .Caption = "Sige View..." End With 'sub-items Set Subitem = Item.Controls.Add(Type:=msoControlButton, temporary:=True) With Subitem .BeginGroup = False .Caption = "Clean" .OnAction = "Trim" .PasteFace End With End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
same issue | Charts and Charting in Excel | |||
I believe that this is a set up issue... | Setting up and Configuration of Excel | |||
Issue with zero/# issue!! | Excel Worksheet Functions | |||
Fuzzy icons from PasteFace | Excel Programming | |||
PasteFace-Problem | Excel Programming |