Each day our accounts department export a report into Excel.
The width of the report means that if it was printed, the far right of the report would print on an additional page.
I am trying to create a macro that will format the cell widths & heights, wrapping the text, so that the width of the report will print on a single page.
My questions are:
1) Is it possible to create a macro to change the cell widths & heights to specific sizes, wrapping the text?
2) If it is possible, can someone let me have some example code to change two different cells widths & heights, with the text forced to wrap?
Any help or advice would be very much appreciated.
Kind regards,
Iain.
The width of the report means that if it was printed, the far right of the report would print on an additional page.
I am trying to create a macro that will format the cell widths & heights, wrapping the text, so that the width of the report will print on a single page.
My questions are:
1) Is it possible to create a macro to change the cell widths & heights to specific sizes, wrapping the text?
2) If it is possible, can someone let me have some example code to change two different cells widths & heights, with the text forced to wrap?
Any help or advice would be very much appreciated.
Kind regards,
Iain.