Macro not visible in macro list

Anonymous
2021-01-06T11:59:59+00:00

Hi All, 

I need some help please. I have a macro that copies specific columns from one workbook into a new workbook, and renames the headers.

I have saved the module into a XLAM file, but its not appearing in the macro list. The sub isn't private and the add-in has been enabled.

Thanks

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Andreas Killer 144K Reputation points Volunteer Moderator
    2021-01-06T16:02:51+00:00

    I have saved the module into a XLAM file, but its not appearing in the macro list.

    This is normal behavior, macros inside AddIns can executed from the UI only using a button.

    So either you have to add a CustomUI.xml and all that

    https://docs.microsoft.com/en-us/office/vba/library-reference/concepts/customize-the-office-fluent-ribbon-by-using-an-open-xml-formats-file

    Sample file

    https://www.dropbox.com/s/4xn12u5txvywk14/SimpleRibbon.xlsm?dl=1

    or move the macro to your PERSONAL.XLSB file.

    Andreas.

    3 people found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2021-01-06T16:09:17+00:00

    Thank you!

    0 comments No comments