Beloved Navision and Excel professionals ...
I try to set the paper size (A3, A4, letter, ...) of an Excel sheet in Navision depending on different parameters ... using the following statement:
XlWorkSheet.PageSetup.PaperSize := PaperSize;
BUT it doesn't work!
Any ideas?
0
Comments
The papersize i change with following:
is your variable "Papersize" an integer or option?
or you define your own Papersize.
Regards
PaperSize is an Integer var...
I guess it is not possible but I am not sure.