Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2004
    Posts
    7

    Unanswered: Calling Access Macros with VB Code

    I am trying to call a macro based on a value selected from a drop down box. In the code I have a simple if else statement saying if the text is "ZZZ" then execute "ZZZ" Macro, else if... However in the VB Code it is not recognizing my macro, the error is "sub or function not defined". Intellisense is also not recognizing my macros in the code. Does anyone know how to resolve this? Thanks,

  2. #2
    Join Date
    Feb 2004
    Posts
    142
    DoCmd.RunMacro "zzzz"
    KC

  3. #3
    Join Date
    Apr 2004
    Posts
    7
    Thanks for the reply. That was EXACTLY what I needed.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •