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.
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.