Share via

Default to visual basic instead of macros

Anonymous
2011-06-22T20:11:42+00:00

I would like to be able to have access default to creating visual basic entries instead of macros upon placing controls (i.e. buttons) on a form. Is there a place where I can set this?

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

ScottGem 68,830 Reputation points Volunteer Moderator
2011-06-22T20:37:36+00:00

No. If you use the Wizard to create certain buttons, Access places embedded macros behind the buttons, not VBA.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

7 additional answers

Sort by: Most helpful
  1. Anonymous
    2012-08-30T16:29:13+00:00

    In MS Access 2010, in the Form Designer, under Design, there is a "Convert Form's Macros to Visual Basic" which helped me.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  2. Tom van Stiphout 40,211 Reputation points MVP Volunteer Moderator
    2011-06-23T05:03:42+00:00

    Not really, but a closely related setting is:

    File > Options > Object Designers > Always use event procedures

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2011-06-22T23:06:22+00:00

    p.s. It wouldn't be so bad if the 'Convert Forms Macro's to Visual Basic' worked.

     

    Well, hopefully it will be fixed with Access 2010 SP1.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2011-06-22T22:44:38+00:00

    That is a shame. I guess I will be turning off the wizards. I've got too much invested in VBA to go back to using macros.

    p.s. It wouldn't be so bad if the 'Convert Forms Macro's to Visual Basic' worked.

    Thanks for the prompt answer!

    Dan

    Was this answer helpful?

    0 comments No comments