B
Balex
Hi
I have a report with subtotals which I wanted to export to Excel. The report
function "Analyse with MS Excel" under the "Office Links icon is ideal and
gives me just the Excel file I need.
Now I'd like to automate the report export to Excel completely through VBA
code. However, I did not succeed with the DoCmd.DoMenuItem, which SHOULD do
the job, because I can't find the 3 necessary parameters, the MenuBar
constant, the MenuName constant and the Command constant corresponding
respectively to the "Print Preview" toolbar, the "Office Links" "menu" under
that, and the "Analyze it with Microsoft Excel" submenu within that.
Can anyone hepl me here ?
Thanks
BAlex
I have a report with subtotals which I wanted to export to Excel. The report
function "Analyse with MS Excel" under the "Office Links icon is ideal and
gives me just the Excel file I need.
Now I'd like to automate the report export to Excel completely through VBA
code. However, I did not succeed with the DoCmd.DoMenuItem, which SHOULD do
the job, because I can't find the 3 necessary parameters, the MenuBar
constant, the MenuName constant and the Command constant corresponding
respectively to the "Print Preview" toolbar, the "Office Links" "menu" under
that, and the "Analyze it with Microsoft Excel" submenu within that.
Can anyone hepl me here ?
Thanks
BAlex