Results 1 to 5 of 5
  1. #1
    RedGoneWILD is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jun 2010
    Posts
    105

    vba vs macros


    if the majority of my code is in vba, does it hurt to have some simple stuff in macros...like a close form button or whatever

    i was reading that macros are amateurish, and you should make your whole program in vba...but i copied a couple of buttons or what not from templates or examples, and i absolutely do not understand macros at all...i understand vba A LOT better...but im scared to change it because i need it to still work.

    any thoughts?

  2. #2
    trb5016 is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Dec 2009
    Location
    Pennsylvania
    Posts
    71
    Eh, I think you're alright with simple macros. I use them to for simple form opens.

    If you want there is an option to "Convert Form's macros to Visual Basic"

    I've only ever used this for simple macros (I could never make anything complicated without VBA in the first place lol) but you might want to check it out.

    Also, it seems like this may be a global option (though this might be in my head and not actually true)

    Regardless, it's probably a good idea to make a backup before making any changes

  3. #3
    RedGoneWILD is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jun 2010
    Posts
    105
    thanks for the reply...i found the convert macros option, so we'll see what happens!

  4. #4
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    "Anything you can do I can do better"
    -VBA talking trash to Macro

    If you got VBA going, stick with it.

  5. #5
    maximus's Avatar
    maximus is offline Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Aug 2009
    Location
    India
    Posts
    931
    I prefer VBA even to do the little stuffs. If I may, I will always advice VBA over macros .

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

Similar Threads

  1. Speeding up Macros
    By salisbut in forum Programming
    Replies: 3
    Last Post: 07-19-2010, 04:02 PM
  2. condition in macros
    By frcastro in forum Programming
    Replies: 1
    Last Post: 06-23-2010, 03:16 AM
  3. VBA vs Macros
    By Evgeny in forum Programming
    Replies: 3
    Last Post: 05-11-2010, 02:15 PM
  4. VBA or Macros
    By mastromb in forum Forms
    Replies: 6
    Last Post: 01-03-2010, 04:46 PM
  5. Macros
    By kfhai in forum Access
    Replies: 0
    Last Post: 04-17-2009, 08:28 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