Macro

  • Thread starter Thread starter Pass-the-Reality
  • Start date Start date
P

Pass-the-Reality

In VB Code, how do you write a command that says run Macro named
SubmitRequest.
 
Reality -

DoCmd.RunMacro "YourMacroName"

Check RunMacro in the Help file for details.


Bryan..
 
Pass-the-Reality said:
In VB Code, how do you write a command that says run Macro named
SubmitRequest.

Try this:
Dim SubmitRequest As String

SubmitRequest = "Processdata"
DoCmd.RunMacro SubmitRequest
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top