Page Setup Dialog via VBA

Have any of you ever had to access the page setup dialog box via VBA in BO 5.x for the purpose of changing orientation/tray? If so, could you share the secret with me?

Thanks!!


Listserv Archives (BOB member since 2002-06-25)

Peter,

I could not find a method in the object model to change the orientation but a workaround is to apply a template to the report.

Try the “ApplyTemplate()” method in the “Report” class

Christophe

From: Peter Ott [SMTP:peter.ott@FMR.COM] Have any of you ever had to access the page setup dialog box via VBA in BO 5.x for the purpose of changing orientation/tray? If so, could you share the secret with me?


Listserv Archives (BOB member since 2002-06-25)