+ Reply to Thread
Results 1 to 2 of 2

How to display the code of a command?

  1. #1
    Registered User
    Join Date
    07-21-2021
    Location
    Ayacucho
    MS-Off Ver
    2016
    Posts
    1

    How to display the code of a command?

    Good night. I have a file with an .xlsm extension which has some commands enabled in the ribbon (see image). I would like to see the code for these commands to make some modifications but when I press F11 I cannot find the associated macros. It seems that someone had deleted them. Is there a way to find the VBA code for these commands? Thank you very much in advance.q1.jpg

  2. #2
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,223

    Re: How to display the code of a command?

    If you do not find a procedure declaration similar to the one below in the code, it may mean that there is a built-in Excel functionality behind the icons. Only the icons for these buttons have been changed.
    Please Login or Register  to view this content.
    Fragments that may have a different name are marked in red. In blue - a fragment that must appear unchanged.
    To be sure, you can edit the workbook (actually its ribbon) in Custom UI Editor for Microsoft Office.

    Artik

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Copying ActiveX Command Button from master sheet to subsheets. command button code missing
    By popper08 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-13-2020, 10:15 AM
  2. [SOLVED] Code to display text & code in a combo list, but display only code when selected
    By kdestef1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-26-2019, 06:07 PM
  3. VBA code to create command button. Print all sheets then delete command button.
    By Declamatory in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-15-2015, 05:18 PM
  4. [SOLVED] Run Command Prompt Icacls code in VBA Command Button on Userform
    By luismalave in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-19-2015, 11:40 PM
  5. Code for a master command button to change the backcolor of multiple command buttons?
    By panttherm5 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-16-2012, 10:11 PM
  6. Macro - display last used command
    By jw01 in forum Excel General
    Replies: 2
    Last Post: 01-21-2011, 03:30 PM
  7. [SOLVED] how do i use 'if' command to display answer in different cell?
    By Fred Far in forum Excel General
    Replies: 6
    Last Post: 03-10-2006, 09:30 AM

Tags for this Thread

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