Hi All,
The code below returns an error -Run-time error '1004': Document not saved.
anyone know why?
(Error on line .ExportAsFixedFormat...)
Private Sub CommandButton1_Click()
Range("B10").Activate
If IsError(ActiveCell) Then
UserForm1.Hide
UserForm3.Show vbModeless
Else
PdfFile =...