• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

How to add a button such that button just run your macro

priya2208

New Member
need help...

i have wriiten macro which takes header fields from two excel sheet

but i need to add button in my excel sheet such taht when we press that button it will run that macro.
 
Assuming the macro is not classified as private...


From the Forms toolbar, (or in 2007+, Developer Ribbon, Insert) insert a Command button or any basic shape. Right click on object, assign macro.
 
Back
Top