title: Access VBA outputto pdf "output to" prompt
body: <p>I am getting a weird problem in Access 2007 SP3. When I export a report to pdf I get the "Output To" prompt which I don't want, is there anything in my code I am doing wrong?</p>
  
  <pre><code>OverViewFile = DLookup("ExportPath", "dbo_Defaults") &amp; "PC" &amp; Format(Now(), "ddmmyy") &amp; Format(Now(), "hhmm") &amp; ".pdf"
  
  DoCmd.OutputTo acOutputReport, "Rpt_ExportBPC", acFormatPDF, OverViewFile, False
  </code></pre>
  
  <p>If I've missed anything please let me know.</p>