Previewing a Report

DeutchBose

Board Regular
Joined
Mar 22, 2004
Messages
83
I have an Access form that has a command button which previews a specific report.

I have the report previewing in 'acDialog' mode, but the report pops up uncentered on the screen...with half of it hidden below the bottom edge of the screen...is there a way to change this?

using 'acNormal' mode seems to do the same thing.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
If you look at the properties window for your report, it should have an Auto Center property under the Format tab. Try that.
Failing that you could also use, in the Open event of your report:

Docmd.Movesize x,x

where x,x are the coordinates for the upper left corner of your report. 0,0 for example, puts it in the upper left corner of the window.
 
Upvote 0

Forum statistics

Threads
1,214,591
Messages
6,120,424
Members
448,961
Latest member
nzskater

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top