22

I downloaded "Office 2010 Add-In: Icons Gallery" that is docx file with two backstage tabs that hold icons.

How can I extract the icons or use them in my application?

Amit G
  • 2,293
  • 3
  • 24
  • 44
no9
  • 6,424
  • 25
  • 76
  • 115
  • 1
    First of all, you shouldn't do this - that artwork is owned by Microsoft and not licensed for use in other applications. Second of all, read first of all. – Todd Main Jan 08 '11 at 04:26
  • 1
    how can i use the icons then (no extraction) in my application? I have my own ribbon and i would like to use images from this gallery ! – no9 Jan 18 '11 at 10:35
  • Anyone coming from Google search see my answer.. you will save yourself a ton of time. My answer contains links to transparent pngs, so no code necessary! – The Muffin Man Jun 16 '14 at 16:09
  • "Images are in the ImageMso 0 and ImageMso 1 tabs in the Backstage.". Go to File -> ImageMso 0/ImageMso 1. Sorted alphabetically. – Amit G Sep 06 '16 at 10:44

6 Answers6

13

I use ImageMso quite frequently in my Excel development. Having stumbled on another post, I took it a step further and put a package together to visually search, extract and save icons from Microsoft Excel as a file or copy and paste (with alpha channel transparency) to another application. I also compiled a list of 8,899 distinct ImageMso names from the various sources. I hope others can find this useful.

Microsoft Office Icons (ImageMSO) Gallery & Extraction

ImageMSO Gallery on Microsoft Excel 2013 running Windows 8

Alton XL
  • 635
  • 6
  • 18
  • When I open excel it asks me if I want to enable the addin for just the session or keep it disabled. I enable it and it's not there. I go into the addin options and it's not listed there as enabled or disabled. – The Muffin Man Jun 16 '14 at 04:57
  • It adds button INSERT tab, but clicking it does nothing (MSO2013x86) – Winand Aug 20 '15 at 20:48
  • Do you have any worksheets open? For some reason in Excel 2013 the add in window won't appear unless there's a worksheet open somewhere. Try creating a new worksheet then click again. – Alton XL Aug 21 '15 at 22:28
7

I suppose the first answer meant to say, that the icons are only meant to be used within Office; that is with Office add-ins and such.

They can be referred with Office Fluent UI definition XML for example. So the distribution form serves as visible "Ahh I want that icon in my add-in" reaction and then choosing the specified ID to use in "imageMso" attribute.

Like this (see proper full XML in Office Fluent UI customization)

<button id="Button1" imageMso="HappyFace" size="" label="Large Button Face" onAction="HandleOnAction" />
Alton XL
  • 635
  • 6
  • 18
  • If you have an addin the imageMso tag is only available for custom ribbon/context menu items, not a button on a winform for example. – The Muffin Man Nov 24 '14 at 15:32
4

This article contains code that worked for me. They even linked the outputted icon sets in transparent PNGs in the article too, so that you don't need to run the code. I've copied the transparent PNG's links from the article below.

Images 1

Images 2

Note:

Although the icons had a transparent background only the image within the icon was transparent, I had to go into Photoshop and remove the white background manually at the top and bottom. Here's an example:

enter image description here

The Muffin Man
  • 19,585
  • 30
  • 119
  • 191
3

Go to tab "File" On the left panel you'll see list of backstage tabs

Loky
  • 41
  • 1
0

From this post, there are 2 download links for all ImageMso of Office 2010/2013. There is also source code so that we can extract Icons ourselves with different size.

T N
  • 396
  • 5
  • 13
0

This is an old question, but I miss an "how to use" not "how to view" answer.

In Visual Studio 2015 you can just assign the name (or ID - shown in the docx File right below the pictures) to the "OfficeImageId" Property. This Property is for example available in Microsoft.Office.Tools.Ribbon.RibbonEditBox or .RibbonButton.

Jan
  • 333
  • 2
  • 15