ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to bypass startup form of access db via visual basic app/XL (https://www.excelbanter.com/excel-programming/371355-how-bypass-startup-form-access-db-via-visual-basic-app-xl.html)

Nancy at AD STD

How to bypass startup form of access db via visual basic app/XL
 
I am creating a macro that opens an access database and updates some
information. My problem is that there is a lengthy startup form/process that
I want to bypass. Right now I am using

app.OpenCurrentDatabase "location_of_database"

as the vb programming statement to open the database. I know you can bypass
the startup if you manually open the database by pressing the Shift key, but
I do not know how to program this via visual basic within an excel macro.

moon[_5_]

How to bypass startup form of access db via visual basic app/XL
 

Try: Application.EnableEvents = False



"Nancy at AD STD" <Nancy at AD schreef in
bericht ...
I am creating a macro that opens an access database and updates some
information. My problem is that there is a lengthy startup form/process
that
I want to bypass. Right now I am using

app.OpenCurrentDatabase "location_of_database"

as the vb programming statement to open the database. I know you can
bypass
the startup if you manually open the database by pressing the Shift key,
but
I do not know how to program this via visual basic within an excel macro.





All times are GMT +1. The time now is 12:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com