Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Sanjeev
 
Posts: n/a
Default Is it possible from Excel

Dear reader,

I required your help on print option. Actualy I want to print it to Adobe
PDF on contineous bases so that it will not ask for save as option and select
the next number

for print 1 1.pdf
for print 2 2.pdf
for print 3 3.pdf
for print 4 4.pdf
and like that , now I have to manualy insert the next number.

I set Adobe printer as default

Actualy I write a macro

Range("F29").Select
ActiveSheet.PivotTables("pivot").PivotFields("Area ").CurrentPage = "(All)"
Selection.Sort Key1:="R29C6", Order1:=xlDescending, Type:=xlSortValues,
OrderCustom:=1, Orientation:=xlTopToBottom
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True

Range("F29").Select
ActiveSheet.PivotTables("pivot").PivotFields("Area ").CurrentPage = "Germany"
Selection.Sort Key1:="R29C6", Order1:=xlDescending, Type:=xlSortValues,
OrderCustom:=1, Orientation:=xlTopToBottom
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True

Range("F29").Select
ActiveSheet.PivotTables("pivot").PivotFields("Area ").CurrentPage = "Italy"
Selection.Sort Key1:="R29C6", Order1:=xlDescending, Type:=xlSortValues,
OrderCustom:=1, Orientation:=xlTopToBottom
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True

like this 150 destination + combination of 5 which means 750 pages

What I want to make it automated so that it will not ask to insert file name
& genrate next number as file name.

Hope I make it clear to you.

Thanks in Advance for any help.

Sanjeev

  #2   Report Post  
PY & Associates
 
Posts: n/a
Default

Would you "try" adopting this please?
I did not test it myself.

set your printer first

for i = 1 to 750
..
..
..
ActiveWindow.SelectedSheets.PrintOut printtofile:=True, prtofilename:=i &
".pdf"
next i


"Sanjeev" wrote:

Dear reader,

I required your help on print option. Actualy I want to print it to Adobe
PDF on contineous bases so that it will not ask for save as option and select
the next number

for print 1 1.pdf
for print 2 2.pdf
for print 3 3.pdf
for print 4 4.pdf
and like that , now I have to manualy insert the next number.

I set Adobe printer as default

Actualy I write a macro

Range("F29").Select
ActiveSheet.PivotTables("pivot").PivotFields("Area ").CurrentPage = "(All)"
Selection.Sort Key1:="R29C6", Order1:=xlDescending, Type:=xlSortValues,
OrderCustom:=1, Orientation:=xlTopToBottom
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True

Range("F29").Select
ActiveSheet.PivotTables("pivot").PivotFields("Area ").CurrentPage = "Germany"
Selection.Sort Key1:="R29C6", Order1:=xlDescending, Type:=xlSortValues,
OrderCustom:=1, Orientation:=xlTopToBottom
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True

Range("F29").Select
ActiveSheet.PivotTables("pivot").PivotFields("Area ").CurrentPage = "Italy"
Selection.Sort Key1:="R29C6", Order1:=xlDescending, Type:=xlSortValues,
OrderCustom:=1, Orientation:=xlTopToBottom
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True

like this 150 destination + combination of 5 which means 750 pages

What I want to make it automated so that it will not ask to insert file name
& genrate next number as file name.

Hope I make it clear to you.

Thanks in Advance for any help.

Sanjeev

  #3   Report Post  
Sanjeev
 
Posts: n/a
Default

It is not working properly as the pdf file is shown as corrupted & not get
open.

anyway thanks for help

"PY & Associates" wrote:

Would you "try" adopting this please?
I did not test it myself.

set your printer first

for i = 1 to 750
.
.
.
ActiveWindow.SelectedSheets.PrintOut printtofile:=True, prtofilename:=i &
".pdf"
next i


"Sanjeev" wrote:

Dear reader,

I required your help on print option. Actualy I want to print it to Adobe
PDF on contineous bases so that it will not ask for save as option and select
the next number

for print 1 1.pdf
for print 2 2.pdf
for print 3 3.pdf
for print 4 4.pdf
and like that , now I have to manualy insert the next number.

I set Adobe printer as default

Actualy I write a macro

Range("F29").Select
ActiveSheet.PivotTables("pivot").PivotFields("Area ").CurrentPage = "(All)"
Selection.Sort Key1:="R29C6", Order1:=xlDescending, Type:=xlSortValues,
OrderCustom:=1, Orientation:=xlTopToBottom
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True

Range("F29").Select
ActiveSheet.PivotTables("pivot").PivotFields("Area ").CurrentPage = "Germany"
Selection.Sort Key1:="R29C6", Order1:=xlDescending, Type:=xlSortValues,
OrderCustom:=1, Orientation:=xlTopToBottom
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True

Range("F29").Select
ActiveSheet.PivotTables("pivot").PivotFields("Area ").CurrentPage = "Italy"
Selection.Sort Key1:="R29C6", Order1:=xlDescending, Type:=xlSortValues,
OrderCustom:=1, Orientation:=xlTopToBottom
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True

like this 150 destination + combination of 5 which means 750 pages

What I want to make it automated so that it will not ask to insert file name
& genrate next number as file name.

Hope I make it clear to you.

Thanks in Advance for any help.

Sanjeev

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
"Group" function very slow with Excel 2003 :( ... While very quick with Excel2000 :O) Alain79 Excel Discussion (Misc queries) 4 June 14th 05 07:34 AM
Stop Excel Rounding Dates leinad512 Excel Discussion (Misc queries) 1 April 20th 05 04:19 PM
Hints And Tips For New Posters In The Excel Newsgroups Gary Brown Excel Worksheet Functions 0 April 15th 05 05:47 PM
Excel error - Startup (and Acrobat PDFMaker) gxdata Setting up and Configuration of Excel 0 February 4th 05 03:44 AM
Excel 2002 and 2000 co-install. Control Which Starts ? cnuk Excel Discussion (Misc queries) 2 January 17th 05 08:07 PM


All times are GMT +1. The time now is 07:45 AM.

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"