Open Report at 150% Zoom

M

M.A.Halim

I want to Open a report at a zoom of 150%
I worte the following code but I Think I did some mistake!!!

Dim RptSalesPerformance As String
RptSalesPerformance = "Sales Performance"
DoComd.OpenReport RptSalesPerformance,AcViewPreview,,,150% 'This Referres to
the zoom I need.
But I think it shouldn't be this way, I tried to Play around this code but
couldn't.
Any Help?
Thanks A lot.
 
P

Peter Hibbs

Try -

Dim RptSalesPerformance As String
RptSalesPerformance = "Sales Performance"
DoComd.OpenReport RptSalesPerformance, AcViewPreview
RunCommand acCmdZoom150

HTH

Peter Hibbs.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top