DoCmd.DoMenuItem question

J

Jonathan

Hi All,
I'm using MS-Access 2003. I'm running a query off a command button and I
want to execute the DoMenuItem so that it runs Tools, Office Links, Analyze
It With Microsoft Office Excel.

I tried different parameters to DoMenuItem but can't get it to work. What am
I missing?

Thanks,
Jonathan
 
A

Arvin Meyer [MVP]

DoMenuItem is code that was instituted to be compatible with 16 bit (Access
2.0) code. What you are looking for is the OutputTo Method of the DoCmd
object. The help file in the code window should be able to give you what you
need.
 
Top