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

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
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,403
Messages
6,119,309
Members
448,886
Latest member
GBCTeacher

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