Link to home
Start Free TrialLog in
Avatar of Rick Danger
Rick DangerFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Microsoft Access ribbon set up

Below is an excerpt of the XML code used to create the Ribbon in Access.

The bit I can't get to grips with is where are the images held for each button? It is defined here:  imageMso=""FileCheckIn"
So is the image "FileCheckIn" held within Access? In which case, how do I find the list of images that I can use? Or do I have to import them in?

The code is:
ID	RibbonName	RibbonXML
1	Dashboard	"<customUI xmlns=""http://schemas.microsoft.com/office/2006/01/customui"">
  <ribbon startFromScratch=""true"">
    <tabs>
      <tab id=""tabDashboard"" label=""Dashboard"" visible=""true"">
        <group id=""grpJobSheet"" label=""Job Sheet"">
          <button id=""btnArtwork"" size=""large"" label=""Artwork"" imageMso=""PhotoAlbumInsert"" onAction=""mcrgBillableTaskRecent.OpenBillableTaskRecentAP""/>
          <button id=""btnWeb"" size=""large"" label=""Web"" imageMso=""ViewWebLayoutView"" onAction=""mcrgBillableTaskRecent.OpenBillableTaskRecentW""/>
          <button id=""btnIn_houseProduction"" size=""large"" label=""In-house Production"" imageMso=""FileCheckIn"" onAction=""mcrgOrderProduction.OpenOrderProductionNoSupplier""/>

Open in new window

Avatar of John Tsioumpris
John Tsioumpris
Flag of Greece image

For the images you should take a look at the various image lists floating on NET ..take a look here
All these images are embedded in the Office installation (available to Access/Excel/Word/Powerpoint...etc)
Avatar of Rick Danger

ASKER

John
Thanks - I don't see these images available in my version of Access. As I asked originally - do I need to import these, or should they be available within Access?
What do you mean by : " I don't see these images available in my version of Access".
When you build a ribbon and you define imageMso as one from the list you should be able to view them on your Custom Ribbon
What I mean is this - how do I know which images are available? Is there a list? For example, I need to add a new button, and it would be good if it had an image of a car, for example. How do I know which images are available? Or do I have to import it?
ok...now we are talking...
As i said these are the built images ...you just name e.g
imageMso=""BlockAuthorsMenu"
and voila you got this image on your ribbon button
 User generated imageIf you want your own custom icons ...like a car you mentioned then it requires some extra work
as described here
John
We definitely are getting there! But still not answering my question - how do I know what's available in terms of built-in images?
ASKER CERTIFIED SOLUTION
Avatar of John Tsioumpris
John Tsioumpris
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks
Glad i helped.