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

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Forum statistics

Threads
1,223,896
Messages
6,175,265
Members
452,627
Latest member
KitkatToby

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