Invoke the Builder
acCmdInvokeBuilder
This example opens a module called ExampleRoutines at the procedure called CryptFile and displays the Expression builder dialog.
'***************** Code Start *******************
'Code by Terry Wickenden.
Private Sub cmdInvoke_Click()
DoCmd.OpenModule "ExampleRoutines", "CryptFile"
DoCmd.RunCommand acCmdInvokeBuilder
End Sub
'****************** Code End ********************