Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I'm trying to create a .xla that creates some new menu or toolbar items to call its functions. Using Excel 2000 VBA. That works. Now I want to add a custom made icon to the new item. I've found some usefull code: Set SubMenu = CommandBars(€ťSculpt€ť).Controls(€ťSculptIcon€ ť) With SubMenu .Picture = LoadPicture(strPath & €śSculpt.bmp€ť) .Mask = LoadPicture(strPath & €śSculptMask.bmp€ť) End With However I get an error for: .Picture = LoadPicture(strPath & €śSculpt.bmp€ť) Picture seems not a member of CommandBarControl. And in Help I cannot find it. What is the matter? Does it only work from Excel 2003 and not in Excel 2000? Any suggestions? Regards, Henkl |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Create a toolbar menu with Hyperlinks that access pages within the | Excel Discussion (Misc queries) | |||
Add menu item to right-click menu | Excel Programming | |||
Adding Sub Menu Item to Current Custom Menu | Excel Programming | |||
Menu items added with menu item editor in older versions | Excel Discussion (Misc queries) | |||
Adding a menu item right click menu when clicking on a single. | Excel Programming |