Hi,
I have one Excel file which serves me as a template to fill some data in. It contains one worksheet which has a few pages and some pictures on the top and bottom. In some cases, I have a situation that data to fill in will occupy only the first page, so I need to delete the rest. I tried deleteRow method but that still leaves pictures and some formattings. In general, what I want to do is to delete the rest of the pages so only one will stay.
Then this xls file will be saved to a pdf file, let's say to save it page from 1 to 1.
Best regards,