Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Printing a WorkSheet with an embedded command button


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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 550
Default Printing a WorkSheet with an embedded command button

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

Rich wrote:

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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
printing with a command button [email protected] Excel Discussion (Misc queries) 4 February 2nd 08 12:49 AM
Creating a Command Button on a worksheet GeorgeJ Excel Discussion (Misc queries) 0 August 1st 07 09:42 PM
Use of Forms Command-button on Worksheet Jim May Excel Discussion (Misc queries) 12 November 13th 06 06:08 PM
Printing Access reports through Excel command button? Ed Excel Discussion (Misc queries) 0 June 7th 06 03:52 PM
Command Button on User form for Printing Anthony Slater Excel Discussion (Misc queries) 2 September 7th 05 02:01 PM


All times are GMT +1. The time now is 04:36 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"