L
Legacy 93538
Guest
Good Morning,
I was wondering if anyone knew why ExportAsFixedFormat function excel VBA changes font from excel to PDF?
Currently i have a macro which goes though a range of cells and then exports a copy to PDF for each value, however one of cells in the excel sheet been saved to PDF uses a barcode font (IDAutomationHC39M). When it exports to PDF the font on these cells is being changed to ariel.
I have printed to PDF and the barcode is there and displaying fine in the PDF but when i use ExportAsFixedFormat the barcode font disappears.
Does anyone know what might causing this?
Currently i line of code i am using is
any help would be appreciated. Thank you in advance
I was wondering if anyone knew why ExportAsFixedFormat function excel VBA changes font from excel to PDF?
Currently i have a macro which goes though a range of cells and then exports a copy to PDF for each value, however one of cells in the excel sheet been saved to PDF uses a barcode font (IDAutomationHC39M). When it exports to PDF the font on these cells is being changed to ariel.
I have printed to PDF and the barcode is there and displaying fine in the PDF but when i use ExportAsFixedFormat the barcode font disappears.
Does anyone know what might causing this?
Currently i line of code i am using is
VBA Code:
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:=FolderPath & cell.Value
any help would be appreciated. Thank you in advance