How do I create a print button?

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

Guest

I am creating a spreadsheet for some unsophisticated users and would like to
have them select a range and then just click on a "print" button. I assume I
need to create a macro and embed it in the button. Could use some help with
that, as well.

Thanks!
 
Add this code to the button click event

Selection.Printout

this will print the currently selected cells on the active sheet.
 
unsophisticated creators would do that

sub printit
range("a2:b22").printout
end sub
 
unsophisticated responders such as me should have said what Nick said.
 

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