+ Reply to Thread
Results 1 to 3 of 3

Changing an Excel Icon

  1. #1
    Registered User
    Join Date
    11-27-2004
    Posts
    3

    Question Changing an Excel Icon

    Hi,

    Is it possible to change the appearance of a single Excel Icon....that is, the default Green Icon that Microsoft provides while shipping out Excel?

    Now, this can be done using the: "FileTypes" ...."Change" option in the "Folder Options" function....but this changes the icon for all Excel files.

    Please let me know if Excel/VBA provides sufficient flexibility for any 1 particular file's icon to be changed.

    Thanks in advance,


    Mister::macrO

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello MisterMacro,

    Here is a macro a while back to brand a commercial program I wrote in Excel using VBA. This macro will allow you to change the icon of any window. Copy and Paste this code into a VBA Module.

    Using the ChangeIcon Macro:
    Call ChangeIcon("C:\WINDOWS\Web\news.ico", GetHwnd)

    Please Login or Register  to view this content.
    [/COLOR]

    All I ask is you include the information block with code, if you decide to share it. Thanks and have fun!

    Sincerely,
    Leith Ross

  3. #3
    Registered User
    Join Date
    06-04-2012
    Location
    pune
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Changing an Excel Icon

    Hi Team,

    This is not working for me. Can you please provide correct code.

    As well as i want to know if i have one folder with 10 excel files. And if i want to change only one excel file icon then how can i change it.

    As well as how can i change defolt excel file icon.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1