print & save

anil21

New Member
Joined
Jan 12, 2013
Messages
20
i am creat a print & save button save & print the invoice in PDF format with invoice no & customer name and save the invoice in d:/invoice folder/Anil kumar 0001.pdf
I have a single excel sheet (invoice copy) which i want to print 3 copies
The invoice in the first page to be printed should be
"original for buyer"
The invoice in the second page to be printed should be
"Duplicate for seller"
The third page should be " Transporter's Copy"
and so on
How do i over come this problem
Can anyone help me
Thanks a ton in advance
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Are you doing the titles for the three docs as the contents of a cell?If so you could always do:

Code:
Range("A1").Select    
  ActiveCell.FormulaR1C1 = "Original for Buyer"
    'your print code here    
  Range("A1").Select    
  ActiveCell.FormulaR1C1 = "Duplicate for Seller"
    'your print code here    
  Range("A1").Select    
  ActiveCell.FormulaR1C1 = "Transporter's Copy"
    'your print code here

edit: can't get it to format properly, hopefully it makes sense still
 
Last edited by a moderator:
Upvote 0
i am creat a retail invoice & 1 am creat a print & save button& print the invoice in PDF format with invoice no & customer name and save the invoice in d:/invoice folder/Anil kumar 0001.pdf
I have a single excel sheet (invoice copy) which i want to print 3 copies
The invoice in the first page to be printed should be
"original for buyer"
The invoice in the second page to be printed should be
"Duplicate for seller"
The third page should be " Transporter's Copy"
and so on
How do i over come this problem
Can anyone help me
Thanks a ton in advance
example: anil kumar is the buyers
0001 is the invoice no.
save in pdf format
please halp us

 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,259
Members
452,626
Latest member
huntinghunter

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top