Hi, As per our requirement we need to read the FitToPages and FitToPagesTall values from the template file and set them to the output sheet, while doing so we are always getting the values as 1 even if the template is…...and FitToPagesWide for this worksheet "sheet1" using sheet1.PageSetup...FitToPagesWide are having 1, while the worksheet on the disk is having "Automatic"...