I need to call a function in order to save an Excel workbook. I installed the PDF save addon for Excel 2007 but now I need to know what the number code is for the file format for when I save the excel file.
An example of the excel file format numbers can be found here.
http://www.dailydoseofexcel.com/archives/2006/10/29/saveas-in-excel-2007/
FileExtStr = '.xlsb': FileFormatNum = 50 FileExtStr = '.xlsx': FileFormatNum = 51 FileExtStr = '.xlsm': FileFormatNum = 52 FileExtStr = '.xls': FileFormatNum = 56 FileExtStr = '.csv': FileFormatNum = 6 FileExtStr = '.txt': FileFormatNum = -4158 FileExtStr = '.prn': FileFormatNum = 36
I need the one for the .pdf ending.
I did this in Word, and the format number is 17.