Printing a WorkSheet with an embedded command button

R

Rich

I am trying to print on the second page of a workbook and
trying to do it using a command button on the first page
of the worksheet. What code do I use.
Thanks!
Rich
 
J

John Wilson

Rich,

Not enough information to go on here.
By second page, do you mean a different tab (worksheet)
or what would be the second page of the same worksheet?
One thing to try is to start on the first page (wherever that is)
and start the macro recorder. Then go through all the steps you
would manually do to print the second page. When done, stop
the recorder. Try running the macro that you created to see if
it works and if so, drag a button from the "Forms" toolbar onto
page 1 and "assign" that macro to it.

John
 

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