Print invoice with fixed format in a sheet

VinodKrishnappa

New Member
Joined
Aug 6, 2016
Messages
31
Hi,

I've enclosed a file, It would be very helpful if some one can help me on this.

In the enclosed file if the number of products to be billed is more than 8 in the then print area adjustment is becoming very difficult. I should print it in two or more pages now.

Here header (from cell A1 to O18) & footer (from cell A35 to O50) shall be constant in all the print pages. Total amount of all the products & amount in words of the grand total shall appear in the last page before footer.

For Example:
Here in the enclosed file, printing of first page with header should (from cell A1 to O18), then the list of first 8 (from cell A19 to O26) products in body, then footer from cell A35 to cell O50.

In 2nd page again header should be from cell A1 to O15, then the list of next 8 products (from Sl. No. 9 onwards), then grand total of all the products (including from 1st page) with amount in words, then again footer from cell A35 to O50.

And so on for 3rd page & 4th page if i have 100 products to bills.

I've explained the same in one more sheet as how it should be when we print the document.

Can you please suggest & also share some links to find some stuff how to achieve this task with macro.

Thanks & regards,

https://drive.google.com/file/d/0Bx1N6PJF4FlibTlvYW1iS1F0V3M/view?usp=sharing
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,224,823
Messages
6,181,169
Members
453,021
Latest member
Justyna P

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