DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Merhaba,
Şu kodu deneyiniz.
Selection.ExportAsFixedFormat xlTypePDF, ThisWorkbook.Path & "\" & Replace(Selection.Address, ":", "_") & ".pdf"
Sub PdfKaydet()
Selection.ExportAsFixedFormat xlTypePDF, ThisWorkbook.Path & "\" & Replace(Selection.Address, ":", "_") & ".pdf"
End Sub
Boş bir modüle aşağıdaki kodu olduğu gibi kopyalayıp, dosyanızı kaydettikten sonra kodu çalıştırıp deneyiniz.
Kod:Sub PdfKaydet() Selection.ExportAsFixedFormat xlTypePDF, ThisWorkbook.Path & "\" & Replace(Selection.Address, ":", "_") & ".pdf" End Sub
Eğer yine hata meydana gelirse bir örnek dosya paylaşın onun üzerinde çalışalım.