PC Review


Reply
Thread Tools Rate Thread

Access Macro

 
 
Dave Rohm
Guest
Posts: n/a
 
      30th Nov 2009
I would like to have my Access Macro press a commandbutton that lives in a
form. I can't seem to find the right way to do it. I know how to open the
form, but don't know how to press the button.
Any help would be much appreciated,
Dave
 
Reply With Quote
 
 
 
 
Daryl S
Guest
Posts: n/a
 
      1st Dec 2009
Dave -

You can write a function that call the form control's OnClick event, and
then in the macro, use the RunCode item to run the function.

--
Daryl S


"Dave Rohm" wrote:

> I would like to have my Access Macro press a commandbutton that lives in a
> form. I can't seem to find the right way to do it. I know how to open the
> form, but don't know how to press the button.
> Any help would be much appreciated,
> Dave

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running excel macro from an Access Macro Matt Microsoft Access VBA Modules 3 25th Mar 2008 04:05 PM
Macro to run an Existing Microsoft Access Macro =?Utf-8?B?UGF1bCBEZW5uaXM=?= Microsoft Excel Programming 1 6th Nov 2007 02:48 PM
what macro action has replace the setvalue macro in Access 2007 =?Utf-8?B?TWFjcm8gaW4gQWNjZXNzIDIwMDc=?= Microsoft Access Macros 2 21st Feb 2007 05:00 PM
Can I write a macro in Excel that runs a macro from Access DB =?Utf-8?B?VGltbXk=?= Microsoft Access Form Coding 5 3rd Dec 2005 10:39 AM
Launch Macro in Access via Macro running in Excel??? dgrant Microsoft Excel Programming 1 24th Sep 2003 01:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:42 PM.