Results 1 to 12 of 12

Thread: Adding icons to custom commandbar menus

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    VBAX Mentor Justinlabenne's Avatar
    Joined
    Jul 2004
    Location
    Clyde, Ohio
    Posts
    408
    Location
    Use the drawing toolbar to create the color squares you need and lace them on a worksheet. Give them decent names, then use the PasteFace method instead of FaceId

    In your commandbar code:

    Sheet1.Shapes("YourPictureName").Copy
    MenuItem.PasteFace
    See the attached gif.
    Last edited by Aussiebear; 04-26-2023 at 07:07 PM. Reason: Adjusted the code tags
    Justin Labenne

Posting Permissions

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