Code Examples

Start A New Macro


This example is designed to be run from a customized toolbar.

See "Add a custom command that runs a Visual Basic function to a menu" in the Access Help for more information on how to put this behind a menu item.

'***************** Code Start *******************

Function OpenNewMacro()
  DoCmd.RunCommand acCmdNewObjectMacro
End Function

'****************** Code End ********************

© 1998 - 2011 Terry Wickenden TKW Design Site developed, maintained and hosted by TKW Design. This site is best viewed at 1024 x 768. Optimised for Firefox.