Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 64
Default Almost there. Help printing multiple sheets as one print job..

First I apologize for my earlier posts for not being able to clearly
state what I am trying to. I hope this is a little clearer and I can
get the help I'm humbly seeking. I tried to explain what I want the
code to do and at what point I want it to do it.

If any knows for sure that its not possible to what I'm asking. I
would appreciate that information as well


Thanks in advance


Sub doprint()
'
' doprint Macro


Dim i As Integer
Dim oCell As Range



strjobnumber = InputBox("Start in Job Number?", " First Job to
Print", 0)
endjobnumber = InputBox("Finish in Job Number?", " Last Job to
Print", 0)

Range("I40").Select
Range("I41").Select


For Counter = strjobnumber To endjobnumber
Sheets("Pieces").Activate
Range("L5").Value = Counter

***Here I would like to grabe the value of cell J80)***

Sheets("BatchSheet1").Activate

****Here I would like tp print the number of sheet equal to
the value of Cell J80 as one print job***
****Currently it will only print one sheet befor going to next
counter*******

ActiveWindow.SelectedSheets.PrintOut From:=1, To:=1,
Copies:=1, Collate _
:=True
Next Counter
Sheets("Pieces").Activate
Range("$A$1").Select

End Sub

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 276
Default Almost there. Help printing multiple sheets as one print job..



Corey
"Little Penny" wrote in message
...
First I apologize for my earlier posts for not being able to clearly
state what I am trying to. I hope this is a little clearer and I can
get the help I'm humbly seeking. I tried to explain what I want the
code to do and at what point I want it to do it.

If any knows for sure that its not possible to what I'm asking. I
would appreciate that information as well


Thanks in advance


Sub doprint()
'
' doprint Macro


Dim i As Integer
Dim oCell As Range



strjobnumber = InputBox("Start in Job Number?", " First Job to
Print", 0)
endjobnumber = InputBox("Finish in Job Number?", " Last Job to
Print", 0)

Range("I40").Select
Range("I41").Select


For Counter = strjobnumber To endjobnumber
Sheets("Pieces").Activate
Range("L5").Value = Counter

***Here I would like to grabe the value of cell J80)***

Sheets("BatchSheet1").Activate

****Here I would like tp print the number of sheet equal to
the value of Cell J80 as one print job***
****Currently it will only print one sheet befor going to next
counter*******

ActiveWindow.SelectedSheets.PrintOut From:=1, To:=Range("J80"), '
<===============
Copies:=1, Collate _
:=True
Next Counter
Sheets("Pieces").Activate
Range("$A$1").Select

End Sub



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 multiple sheets... MarkN Excel Discussion (Misc queries) 1 December 1st 09 10:20 AM
Printing Multiple Sheets Chad Excel Discussion (Misc queries) 3 October 17th 07 10:23 PM
Printing Multiple sheets light_life_love Excel Discussion (Misc queries) 0 August 25th 05 08:52 PM
printing multiple print areas with a print dialog box LHaro Excel Programming 0 August 17th 05 09:56 PM
Printing non-adjacent areas on seperate sheets in one print job Dan Knight Excel Programming 0 January 7th 04 02:51 PM


All times are GMT +1. The time now is 01:38 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"