Hi i am looking to save quotes, and name them the clients address and date. Any advice on this code? cheers
Sub Save3()
Dim filename As String
Dim Path As String
Dim path1 As String
Dim path2 As String
Path = "C:\Users\James\Documents\Excel Test Folder\Quotes PDFs Test"
path1 = "C:\Users\James\Documents\Excel Test Folder\Invoice PDFs Test"
path2 = "C:\Users\James\Documents\Excel Test Folder\Quotes Invoices Spread Sheets"
filename = Range("C6").Text & ".pdf"
ActiveSheet.SaveAsFixedFormat Type:=xlTypePDF, filename:= _
Path + filename, _
Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas _
:=False, OpenAfterPublish:=False
ActiveSheet.SaveAsFixedFormat Type:=xlTypePDF, filename:= _
path1 + filename, _
Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas _
:=False, OpenAfterPublish:=False
ActiveSheet.SaveAsFixedFormat Type:=xlTypexlsx, filename:= _
path2 + filename, _
Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas _
:=False, OpenAfterPublish:=False
End Sub
Sub Save3()
Dim filename As String
Dim Path As String
Dim path1 As String
Dim path2 As String
Path = "C:\Users\James\Documents\Excel Test Folder\Quotes PDFs Test"
path1 = "C:\Users\James\Documents\Excel Test Folder\Invoice PDFs Test"
path2 = "C:\Users\James\Documents\Excel Test Folder\Quotes Invoices Spread Sheets"
filename = Range("C6").Text & ".pdf"
ActiveSheet.SaveAsFixedFormat Type:=xlTypePDF, filename:= _
Path + filename, _
Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas _
:=False, OpenAfterPublish:=False
ActiveSheet.SaveAsFixedFormat Type:=xlTypePDF, filename:= _
path1 + filename, _
Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas _
:=False, OpenAfterPublish:=False
ActiveSheet.SaveAsFixedFormat Type:=xlTypexlsx, filename:= _
path2 + filename, _
Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas _
:=False, OpenAfterPublish:=False
End Sub