I created a workbook in which would be a chart to input data and stored in the same workbook. I managed to create a save path in which the PDF file would be stored but I also need in the same code the coding for saving the sheet in the same workbook as a continuation.
This is what I come up so far for only saving in the PDF format.
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:="D:" & Range("H60").Value & Format(Date, "ddmmyyyy")
If somebody could help me would be much appreciated.