How to apply autoformat for an Access form from VBA?

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!
icad01Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

clarkscottCommented:
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.
Richard DanekeTrainerCommented:
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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
icad01Author Commented:
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.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.