Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Batch Workbook Printing for selected


This is a simple problem that I have:

I need to print (#) workbooks (already opened in excel)
each workbook has 2 sheet : "Domestic", "International"
I have to print "Domestic"wrksheet.
"Domestic"wrksheet has a link for income from the "International"
worksheet.

If the amount for "international" on the "domestic" sheet is $0 then I
don't have to print the sheet.

==============================
Here's a rough VBA programming sketch (logic) I made.
I need someone to actually code it as I am a beginner to EXCEl VBA.

sub Batchprint

Wrkcount= (# of all workbooks open)
InternationalCk= this is the amount on the domestic sheet. The coloumn
is absoulte , the row is not. it has to pick the value off to the right
of the international text.

For x=1 to wrkcount
print. workbook (x). worksheet (Domestic.)
if workbook. active.worksheet. (domestic). cell. Internationalck1
then print workbook (X). worksheet (International)
next X
Else next X

===================================
I know the logic just not the programming syntax.

hope that make sense.


--
Ryeno24
------------------------------------------------------------------------
Ryeno24's Profile: http://www.excelforum.com/member.php...o&userid=27915
View this thread: http://www.excelforum.com/showthread...hreadid=521658

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
Batch Printing - filtered by Picklist naz Excel Worksheet Functions 1 June 27th 07 07:24 PM
batch printing without VBA krikri Excel Discussion (Misc queries) 2 February 9th 06 02:24 PM
Batch printing of excel files Grd Excel Programming 1 October 20th 05 07:52 PM
Batch printing Phil Berkhof Excel Programming 4 October 22nd 03 04:36 PM
Batch printing Phil Berkhof Excel Programming 1 October 21st 03 01:35 PM


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