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

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

bmacr

Board Regular
Joined
Jan 14, 2004
Messages
94
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.
 

Forum statistics

Threads
1,147,690
Messages
5,742,647
Members
423,746
Latest member
Joaogomes

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
Top