Results 1 to 2 of 2
  1. #1
    Newby is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Nov 2012
    Posts
    60

    What is the protocol for running a macro in code.

    Private Sub CBx_Interval_AfterUpdate()
    If CBx_Interval.Value = "Weekly" Then
    CBx_Day.Value = ""
    CBx_Day.Visible = True
    Else: CBx_Day.Visible = False
    End If
    If CBx_Interval.Value = "Monthly" Then


    mac_ToDos 'Macro
    End If
    End Sub

    Thanks
    Newby

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Check out

    DoCmd.RunMacro
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. macro running in order
    By dumbledown in forum Access
    Replies: 2
    Last Post: 09-03-2012, 08:05 AM
  2. Remote Desktop Protocol
    By MaxwellAFB in forum Access
    Replies: 1
    Last Post: 02-10-2012, 12:10 AM
  3. running macro in another DB
    By AdrianoG87 in forum Import/Export Data
    Replies: 1
    Last Post: 09-30-2011, 12:31 AM
  4. Running module from Macro
    By Harley Guy in forum Modules
    Replies: 6
    Last Post: 10-27-2010, 11:05 AM
  5. Running a VB function in a Macro
    By JuuJuu in forum Access
    Replies: 1
    Last Post: 10-27-2009, 02:50 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