How to Adjust Automatic Zoom for an Access Form in a Web Browser
Question details
The user needs to automatically zoom out an Access form displayed in a web browser using code or an expression, while keeping the browser window size unchanged.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Displaying a Microsoft Access form within a web browser or a Web Browser Control interface.
- Observed behavior
- The Access form appears too large in the web browser, and native Access settings do not provide an obvious way to control the external browser's zoom level.
Verify whether your Access form is being displayed using the modern Edge Web Browser Control or a legacy method, as the approach to adjusting zoom and scaling differs significantly between them.
Apply CSS Scaling in the Web Browser Control
If you are using the modern Edge-based Web Browser Control, you can inject CSS directly into the HTML to scale the content down.
Microsoft Access cannot natively control the external browser's zoom level through standard VBA properties. However, if the form is rendering HTML inside a Web Browser Control, you can use CSS transforms to zoom out without changing the container size.
Right-click your target Access form in the Navigation Pane and select Design View.
Identify the HTML or script source that is feeding data into your Web Browser Control.
Insert a CSS style block targeting the body element within your HTML string. For example, add 'body { zoom: 80%; }' or 'transform: scale(0.8);'.
Save your form design changes and switch to Form View to verify that the content is now properly zoomed out within the fixed window dimensions.

Modify Access Form Auto Resize Properties
Adjust the built-in form properties to ensure the form naturally fits within its required container boundaries before being rendered in a browser.
Switch to WPS Office for a Seamless Productivity Experience
While Microsoft Access is a specialized database tool, handling standard documents, spreadsheets, and presentations is much easier with WPS Office. It offers a lightweight, highly compatible alternative to Microsoft Office suites, allowing you to manage your daily tasks for free.
- 1. Download the Installer: Visit the official WPS Office website and download the free installer for your operating system.
- 2. Install the Software: Run the downloaded file and follow the on-screen prompts to complete the quick installation.
- 3. Open Your Files: Launch WPS Office and immediately start opening and editing your existing Microsoft Office documents without losing formatting.

Frequently Asked Questions
Can I use VBA to control the browser zoom level in Access?
Native Access VBA does not have a direct command to control an external web browser's zoom level. You typically need to manipulate the HTML/CSS content within the Web Browser Control itself to achieve a zooming effect.
Why is my Access form appearing too large in the web browser?
This usually happens due to resolution differences between the Access design environment, the web browser's default scaling settings, or the DPI settings of your primary monitor.
Does the new Edge Web Browser Control in Access support zooming?
Yes, the Edge-based control supports standard modern web behaviors. This means users can manually zoom using Ctrl + Mouse Wheel, and developers can implement CSS zoom properties within the loaded HTML.




