Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Rajula
 
Posts: n/a
Default Print page 1 of all work sheets??

Hi There,

Is there an option in Excel to print only the first page of all the
worksheets in the workbook.

Kind Regards
Rajula
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Print page 1 of all work sheets??

You could run a little macro:

Option Explicit
Sub testme()

Dim wks As Worksheet
For Each wks In ActiveWorkbook.Worksheets
wks.PrintOut from:=1, to:=1, preview:=True
Next wks

End Sub


If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Rajula wrote:

Hi There,

Is there an option in Excel to print only the first page of all the
worksheets in the workbook.

Kind Regards
Rajula


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
Rajula
 
Posts: n/a
Default Print page 1 of all work sheets??

First of all Thankyou Very much..It works fine..
Can i avoid the print preview & send it directly to the printer.

I have no clue about macros & VB..



"Dave Peterson" wrote:

You could run a little macro:

Option Explicit
Sub testme()

Dim wks As Worksheet
For Each wks In ActiveWorkbook.Worksheets
wks.PrintOut from:=1, to:=1, preview:=True
Next wks

End Sub


If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Rajula wrote:

Hi There,

Is there an option in Excel to print only the first page of all the
worksheets in the workbook.

Kind Regards
Rajula


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Print page 1 of all work sheets??

Just delete this portion:

", preview:=True"

I like to save a few trees when I'm testing.



Rajula wrote:

First of all Thankyou Very much..It works fine..
Can i avoid the print preview & send it directly to the printer.

I have no clue about macros & VB..

"Dave Peterson" wrote:

You could run a little macro:

Option Explicit
Sub testme()

Dim wks As Worksheet
For Each wks In ActiveWorkbook.Worksheets
wks.PrintOut from:=1, to:=1, preview:=True
Next wks

End Sub


If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Rajula wrote:

Hi There,

Is there an option in Excel to print only the first page of all the
worksheets in the workbook.

Kind Regards
Rajula


--

Dave Peterson


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
Rajula
 
Posts: n/a
Default Print page 1 of all work sheets??

It was just perfect..
Thanks again.

"Dave Peterson" wrote:

Just delete this portion:

", preview:=True"

I like to save a few trees when I'm testing.



Rajula wrote:

First of all Thankyou Very much..It works fine..
Can i avoid the print preview & send it directly to the printer.

I have no clue about macros & VB..

"Dave Peterson" wrote:

You could run a little macro:

Option Explicit
Sub testme()

Dim wks As Worksheet
For Each wks In ActiveWorkbook.Worksheets
wks.PrintOut from:=1, to:=1, preview:=True
Next wks

End Sub


If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Rajula wrote:

Hi There,

Is there an option in Excel to print only the first page of all the
worksheets in the workbook.

Kind Regards
Rajula

--

Dave Peterson


--

Dave Peterson



  #6   Report Post  
Posted to microsoft.public.excel.misc
Rajula
 
Posts: n/a
Default Print page 1 of all work sheets??


Hi,

In extention to the same problem.
This file is being used by people sitting in the US & UK. People in the US
use A3 size paper for printing.

What is the code for printing in A3 format if the file is getting printed
form US & A4 size if the file is getting printed from UK.

Regards


"Rajula" wrote:

It was just perfect..
Thanks again.

"Dave Peterson" wrote:

Just delete this portion:

", preview:=True"

I like to save a few trees when I'm testing.



Rajula wrote:

First of all Thankyou Very much..It works fine..
Can i avoid the print preview & send it directly to the printer.

I have no clue about macros & VB..

"Dave Peterson" wrote:

You could run a little macro:

Option Explicit
Sub testme()

Dim wks As Worksheet
For Each wks In ActiveWorkbook.Worksheets
wks.PrintOut from:=1, to:=1, preview:=True
Next wks

End Sub


If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Rajula wrote:

Hi There,

Is there an option in Excel to print only the first page of all the
worksheets in the workbook.

Kind Regards
Rajula

--

Dave Peterson


--

Dave Peterson

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
How do I insert page numbers in many work sheets in excel? shakeel Excel Worksheet Functions 0 March 6th 06 10:27 PM
Page Numbers Aurora Excel Discussion (Misc queries) 0 November 17th 05 09:04 PM
master select page field for many pivots in one work book Todd F. Excel Discussion (Misc queries) 0 August 16th 05 09:00 PM
How can I print noncontiguous rows on the same page? Mary A Walthall Excel Discussion (Misc queries) 1 April 26th 05 11:00 AM
How do I print all sheets of an Excel workbook from explorer? Dave Walker Excel Discussion (Misc queries) 1 January 28th 05 10:19 PM


All times are GMT +1. The time now is 04:39 AM.

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

About Us

"It's about Microsoft Excel"