Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Using getItemImage for a Gallery
I'd appreciate a pointer to sample VBA code which actually implements
asserting an image into a Gallery object in an Office 2007 Ribbon. Defining the callback is clear, e.g. getItemImage="getMeAnImage" as is the macro signature, e.g. Sub getMeAnImage(control As IRibbonControl, index As Integer, ByRef returnedVal) but I'm baffled by how to initialize/define the "returnedVal" parameter. Is it in index to an image already contained in the xlsm file (unlikely). How would one go using image files on the local disk (e.g. "C: \MyPicture.jpg", "C:\YourPicture.jpg") to populate a gallery? I've found a few Web pages which show examples of the XML showing how to define a gallery within a RibbonX, but none that actually show how to use existing image files for the gallery. Any help or references on this topic would be most appreciated. /Tyla / |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Icon Gallery | Excel Discussion (Misc queries) | |||
Elements Gallery | Excel Discussion (Misc queries) | |||
Userform Gallery | Excel Programming | |||
photo gallery | Excel Discussion (Misc queries) | |||
Add to/Modify WordArt Gallery | Excel Programming |