Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default 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
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
Icon Gallery Dewayne Excel Discussion (Misc queries) 2 August 1st 09 12:43 AM
Elements Gallery ckane Excel Discussion (Misc queries) 0 October 3rd 08 05:35 PM
Userform Gallery UserFormGallery Excel Programming 3 July 5th 06 12:13 PM
photo gallery prmanoel Excel Discussion (Misc queries) 2 March 11th 05 11:00 PM
Add to/Modify WordArt Gallery [email protected] Excel Programming 0 February 16th 05 04:15 PM


All times are GMT +1. The time now is 09:21 AM.

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

About Us

"It's about Microsoft Excel"