Print command box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello, I am working in an Excel spreadsheet and would like to add a command
box that prints onto the worksheet. How do I go about doing this and what is
the code. I only know that i use Visual Basics I think.
 
Record a macro (Tools|macro|record new macro)
when you print the worksheet.
Then stop the recording of the macro.

Now show the Forms toolbar (View|toolbars)
Click on that button icon
draw it onto the worksheet (you can move it later).

Then assign that recorded macro to that button.

(If you need to, you can rightclick on that button and assign the macro when you
want to--you don't have to do it when you plop the button onto the worksheet.)
 

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

Back
Top