Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8142877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T12:56:36+00:00 2026-06-06T12:56:36+00:00

I have recently written a macro for visual studio 2010 in the macro IDE,

  • 0

I have recently written a macro for visual studio 2010 in the macro IDE, I have saved the macro and it is in my current active macro project in my solution.

when going to add the macro to my tool bar via

Tools > Customize > Commands (tab) > toolbar > Standard > Add Command > Macro

Only Macro.Sample.etc… are present and none of my macros. what am I missing?
I went into Tools > Macros explorer and set my current project to the default recording project.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T12:56:37+00:00Added an answer on June 6, 2026 at 12:56 pm

    VS makes this horribly confusing. What you created was a Macro Module – a container for your Macro. However, if the module name doesn’t match the filename, it will NOT “register” with or be seen by the system. You can create all the subs you want, but they wont show up (or “register” themselves as a useable Macro).

    Answer:
    Check to be sure “Public Module Blah” matches the filename (Module Name in Explorer)!

    You can get bitten by this by creating a new module, and then copy/paste code from somewhere else but not realizing that the module names are different.

    Follow these steps if you want to be SURE that your module will work as expected:

    1. From Macro Explorer, Right Click MyMacros, and create a New Module
    2. Now Right Click your new Macro Module, and select New macro.
    3. Put your code in the sub it generates!

    Build, Save, check your Toolbar / Add Command, and you will see your macro!

    You can rename the subs, thats ok. Those become your usable macros. But DON’T rename the module! Get the module name the way you want it at the time you create it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have recently developed a project which is written using Symfony 1.4 which I
I have recently inherited a J2EE Struts web app that was written back in
I have recently begun using Scala. I've written a DSL in it which can
I'm working with some SQL 2005 CLR code written in C#. We have recently
I have recently written some complex ruby script that eventually fails with segfaults in
I have recently written some code which schedules messages to send to one of
We have a recently internationalised application written in classic ASP. The following code replicates
I have an existing website written in ASP.net, I have recently switched to Mac
I have recently written a survey application that has done it's job and all
I have recently written a LINQ query to get a Dictionary containing the last

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.