+ Reply to Thread
Results 1 to 4 of 4

Adding a command button to the menu

  1. #1
    Forum Contributor stojko89's Avatar
    Join Date
    05-18-2009
    Location
    Maribor, Slovenia
    MS-Off Ver
    MS Office 365
    Posts
    913

    Adding a command button to the menu

    Hi

    I'm tryn to add a command button the the menu called "Dodatki"
    So it's just a command button not like it's now a menu under "Dodatki" and in this menu there's a command button that says "Shrani naročilo v .pdf"
    Is it possible to have a large button under Menu "Dodatki" withouth a submenu?
    I'm using this code but I don't know how to fix it.
    Please Login or Register  to view this content.
    Hope some understands my question.
    And I can't attach the attachment :/

    TY!

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Re: Adding a command button to the menu

    Good afternoon stojko89

    Your profile tells us that you are using Excel 2007. Is this correct?
    I ask because the code you are using is to add a button to a toolbar in Excel 2003.

    The new toobar that made an appearance in Excel 2007 is known as the "Ribbon", and buttons can be added to it. Personally, I don't think that it's as easy to do as it was under the old version of Excel, and you cannot do it exclusively using VBA - you have to get involved with XML as well.

    I would suggest you have a look at this article by Excel MVP Mike Rosenblum.
    http://www.xtremevbtalk.com/showthread.php?t=265636

    HTH

    DominicB

  3. #3
    Forum Contributor stojko89's Avatar
    Join Date
    05-18-2009
    Location
    Maribor, Slovenia
    MS-Off Ver
    MS Office 365
    Posts
    913

    Re: Adding a command button to the menu

    Yes I'm using the 2007 verison.
    Ok so I have to work with the Ribbon...I guess I'll try :s

    Thanks

  4. #4
    Forum Contributor stojko89's Avatar
    Join Date
    05-18-2009
    Location
    Maribor, Slovenia
    MS-Off Ver
    MS Office 365
    Posts
    913

    Re: Adding a command button to the menu

    Well! ty, that helped

+ 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