Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Pivot Chart in MS-Access which i want to export as a PDF file. How can i set the resulting PDF's orientation from portrait to landscape ?

share|improve this question
up vote 1 down vote accepted

You could print it out using Cute PDF and set the print output to Landscape

share|improve this answer
I'm sure there's more than one workaround but I was hoping there's a simple setting in Access that controls this property. – yurib Mar 4 '11 at 10:57
Set the printer and report page orientation to landscape and then export it to PDF... – Mar 4 '11 at 11:09
While printer control in Access is easier than it once was (since Access 2002), it's still not trivial, and it's kind of unpredictable. I would suggest for reliability you set up an actual report for the pivot chart, rather than try to print a form. – David W. Fenton Mar 5 '11 at 21:11

When this code runs, all you see is the file save dialog. Cute PDF must be installed according to instructions on website.

Dim stDocName as string
Dim prn As Printer
Dim rpt As Report

stDocName = "your report object name"

Set prn = Application.Printers("CutePDF Writer")
prn.Orientation = acPRORLandscape

DoCmd.OpenReport stDocName, acViewPreview, , , acHidden

Set rpt = Reports(stDocName)
Set rpt.Printer = prn

DoCmd.Close acReport, stDocName
share|improve this answer

Actually there is another way - with the view you want open switch to the file menu and choose print > print preview then select the option you want eg landscape save this and the pdf export will remember it.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .