Results 1 to 3 of 3
  1. #1
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664

    Converting an embedded macro to VBA code

    I want to convert an embedded macro that is associated with a button on a form. There is a choice on the ribbon to convert the form's macro's to VBA code. I do not want that. That would convert all macro associated with this form to VBA code. I just want to convert a selected macro to VBA code; not al the macros associated with this form.



    How to I do that?

    Any help appreciated. Thanks in advance.

    Respectfully,

    Lou Reed

  2. #2
    Bulzie is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    Nov 2015
    Posts
    1,511
    Why not just convert them all, VBA is easier to read and manipulate I think.

    But you could copy that form, do the convert on that copy, then copy and paste the VBA code, go back to your original form and instead of macro choose to use an expression for that button and paste the code.

  3. #3
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    Yes, I just thought that there was a way (an easy way) to convert one control on a form and not have to do all of them. There must
    be. I vaguely remember using it.

    Respectfully,

    Lou Reed

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Embedded Macro
    By balajigade in forum Macros
    Replies: 6
    Last Post: 04-02-2014, 05:28 AM
  2. VBA to Embedded Macro
    By mrmims in forum Macros
    Replies: 4
    Last Post: 03-11-2014, 01:28 AM
  3. Replies: 2
    Last Post: 06-30-2013, 09:59 AM
  4. Embedded macro
    By thart21 in forum Forms
    Replies: 1
    Last Post: 06-28-2011, 12:18 PM
  5. Run a Embedded Macro from VBA Code
    By sabre1 in forum Programming
    Replies: 3
    Last Post: 02-25-2011, 10:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums