Cannot Do that. The Requirement is very clear on this. Need to run with existing Access code i.e either by user running form or by automated through excel.
The command button has the click event coded to import an Excel sheet into the table.
The most trickier is closing the MsgBox. it is a modal dialogue and code will hang there for user input. How to close it automatically ?
The Requirement in Simple Terms is
1) Open Access from Excel (Done)
2) Open Access Form (Done)
3) Initiate a Command Button Click Event( To be done)
4) The Command Button Will pop open a MsgBox Dialogue. This need to be close from Excel( HandsFree)
5) Close Access (Done)
Hi All,
I have a requirement to automate Access functionality from Excel. I need to open Access, trigger button events and close Access from Excel.
I Achieved opening Access from Excel. I cannot find a way to trigger a button click event from Excel for an Access form.
To be more precise,
I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.