Connecting Tech Pros Worldwide Help | Site Map

Riunning A Macro from VBA

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 12th, 2005, 06:40 PM
John Baker
Guest
 
Posts: n/a
Default Riunning A Macro from VBA

Hi:

I am trying to work my way around a problem (refreshing a form and getting new totals). I
think I have the solution, but I need to run an Approcah Macro from V\BA, and am foxed in
doing it.
The name of he Macro is: confirmedTScommit

I Tried :

Run("confirmedTScommit")

and it didnt like that (couldnt find it).

I tried

RunMacro ("confirmedTScommit")

and it liked that even less!

Can anyone tell me the right syntax to run a macro in Access from VBA?


Regards

John Baker

  #2  
Old November 12th, 2005, 06:41 PM
John Baker
Guest
 
Posts: n/a
Default Re: Riunning A Macro from VBA

Ladies and Gentleman:

The prior post was messed up in a number of ways, as a result of firing it off without
proper review. I apologize for that, and would like to restate it:

I am trying to work my way around a problem (refreshing a form and getting new totals). I
think I have the solution, but I need to run an Access Macro from VBA, and am foxed in
doing it.

The name of he Macro is: confirmedTScommit

I Tried :

Run("confirmedTScommit")

and it didn't like that (couldn't find it).

I tried

RunMacro ("confirmedTScommit")

and it liked that even less!

Can anyone tell me the right syntax to run a macro in Access from VBA?


Regards

John Baker

John Baker <Baker.JH@Verizon.net> wrote:
[color=blue]
>Hi:
>
>I am trying to work my way around a problem (refreshing a form and getting new totals). I
>think I have the solution, but I need to run an Approcah Macro from V\BA, and am foxed in
>doing it.
>The name of he Macro is: confirmedTScommit
>
>I Tried :
>
> Run("confirmedTScommit")
>
>and it didnt like that (couldnt find it).
>
>I tried
>
>RunMacro ("confirmedTScommit")
>
>and it liked that even less!
>
>Can anyone tell me the right syntax to run a macro in Access from VBA?
>
>
>Regards
>
>John Baker[/color]

  #3  
Old November 12th, 2005, 06:41 PM
Mike Storr
Guest
 
Posts: n/a
Default Re: Riunning A Macro from VBA

DoCmd.RunMacro

Mike Storr
www.veraccess.com


"John Baker" <Baker.JH@Verizon.net> wrote in message
news:l2ki10dfleee86kq9fjhf0lcs9pt92284k@4ax.com...[color=blue]
> Hi:
>
> I am trying to work my way around a problem (refreshing a form and getting[/color]
new totals). I[color=blue]
> think I have the solution, but I need to run an Approcah Macro from V\BA,[/color]
and am foxed in[color=blue]
> doing it.
> The name of he Macro is: confirmedTScommit
>
> I Tried :
>
> Run("confirmedTScommit")
>
> and it didnt like that (couldnt find it).
>
> I tried
>
> RunMacro ("confirmedTScommit")
>
> and it liked that even less!
>
> Can anyone tell me the right syntax to run a macro in Access from VBA?
>
>
> Regards
>
> John Baker[/color]


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,840 network members.