We help IT Professionals succeed at work.

How to apply autoformat for an Access form from VBA?

icad01 asked
Medium Priority
Last Modified: 2006-11-18
Dear experts,
I am creating forms from Access VBA code, but I didn't found a way to change the form format appearance.
I am not even able to change manually the autoformat for the new form wizard, and it remains the same
Standard format.
Do you have any clue for me?
Thanks in advance!
Watch Question

VB gives us lots of ways to build forms 'on -the- fly' but Access is somewhat clumsy at this.  (Access does not support control arrays).

I think if you want multiple form appearances per situations, you'd be best off creating the separate forms and opening per user selection.

Scott C.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
When you have created a form of your own style, you then go to Format, AutoFormat.  In the customize options, you can change any of the styles to the style used in the current form.  New forms created using wizards will use this form.
Under Tools, Options on the Form/Report tab is an option for a Form.  Use this value to base new forms created without the wizard (hearing VBA) to use the style of the form entered.


Thanks for the answers!
I ended creating forms with like a wizard, so I have full control.
I first copy a form customised template, then add controls.
Thanks again.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.