I have created a ribbonbar in autocad 2012 using API and c#.
On ribbon button i am executing a Command method which display a wizard for copying some files.
now i want to run a macro before excuting the ribbon button command methood.
which display a messagebox with yes and no
if user click yes command method will excutes itself and display wizard for copy files
if user click no command method will not execute and return.
this will allow user to use macro for customizing the file copy process.
can some body help how i can achive this.
thanks a lot.
Solved! Go to Solution.
Solved! by mnav. See the answer in context.
Got it..... here is the code if somebody looking for it
thanks for your reply but i want to run a macro not the editor prompt. i want to run a macro which decide to continue with command of abort it.
any help how to run and macro from ribbon button and abort button command if you dont want to continue.#
Sorry, I misunderstood what you wanted. Your question sounded like you wanted the menu macro to prompt the user. You didn't ask on how to run a vba macro.
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!