copying macro buttons

P

Pat

Is it possible to copy and paste a button from one
worksheet to another and keep the formula in the button?
When I copy and paste I loose the formulas in the button.
I have also tried to cut, copy and paste and once again
the formulas in the original button do not appear. Thanks
for your help.
 
G

Guest

hi,
what do you mean "formulas IN the button"?
command buttons to my knowlege do not contain formulas.
they invoke action usually by runing code. the code is
assigned to the sheet on which they reside. when you copy
the button it doesn't not copy the code because the code
in not inside the button. you will have to copy the code
and move it to the new sheet also.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top