programming the Access toolbar

M

Mike

How do you access the toolbar functions of Access in VBA code?

I am trying in code, to access the toolbar functiions

File --> Get External Data --> Import etc

thanks

Mike
 
A

Allen Browne

Methods are different.

In general, the old DoMenuItem has been replaced with a RunCommand constant,
and Terry Twickenden has a list of those at:
http://www.tkwickenden.clara.net/

For your specific question, you want one of the Transferxxx methods, e.g.
TransferText, TransferSpreadsheet, ...
 
Top