title: Saving .xfdf as .pdf
body: <p>I am currently using Excel to populate a PDF file with form fields. It all works but it exports it as a .xfdf. Does anyone know how I can save it as a pdf instead?</p>
  
  <pre><code>FullFileName = FilePath &amp; "Requisition - " &amp; Trim(MyRecord.CompanyName) &amp; " - " &amp; _
  Year &amp; "-" &amp; Month &amp; "-" &amp; Day &amp; "-" &amp; Hour &amp; "-" &amp; Minute &amp; "-" &amp; Seconds &amp; ".xfdf"
  Open FullFileName For Output As #1
      Print #1, "&lt;?xml version=""1.0"" encoding=""ISO-8859-1""?&gt;"
      Print #1, "&lt;xfdf xmlns=""http://ns.adobe.com/xfdf/"" xml:space=""preserve""&gt;"
      Print #1, "&lt;fields&gt;"
  
      Print #1, "&lt;field name=""Submitted by""&gt;&lt;value&gt;" + Trim(MyRecord.RequestedBy) + "&lt;/value&gt;&lt;/field&gt;"
      Print #1, "&lt;field name=""Job Name""&gt;&lt;value&gt;" + "Auto Cards" + "&lt;/value&gt;&lt;/field&gt;"
      Print #1, "&lt;field name=""Shipping address""&gt;&lt;value&gt;" + Trim(MyRecord.StreetNumber) &amp; " " &amp; Trim(MyRecord.StreetName) &amp; ", Unit " &amp; Trim(MyRecord.Suite) &amp; ", " &amp; Trim(MyRecord.City) &amp; ", " &amp; Trim(MyRecord.Province) &amp; ", " &amp; Trim(MyRecord.PostalCode) + "&lt;/value&gt;&lt;/field&gt;"
      Print #1, "&lt;field name=""Special Instructions""&gt;&lt;value&gt;" + "Print" + "&lt;/value&gt;&lt;/field&gt;"
      Print #1, "&lt;/fields&gt;"
      Print #1, "&lt;f href=""..\Requisition_Fillable.pdf""/&gt;"
  
      Print #1, "&lt;/xfdf&gt;"
  Close #1    ' Close file.
  </code></pre>