dbTalk Databases Forums  

idMso ExportExcel - Select which query

comp.databases.ms-access comp.databases.ms-access


Discuss idMso ExportExcel - Select which query in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
christianlott1@yahoo.com
 
Posts: n/a

Default idMso ExportExcel - Select which query - 03-15-2011 , 10:46 AM






TransferSpreadsheet just dumps the data into excel w/o formatting
while the ExportExcel command (w/ ribbon) brings up the wizard to
select the name, destination and an option to format the file.

I want the user to be able to export to excel w/ this wizard but he or
she won't be able to select it from the navigation pane because it
will be disabled. Is there a way to select which query to export and
to launch the ExportExcel wizard w/ vba?

Only other option is to create a custom nav pane for the user

I see there is a way to launch idMso;

Application.CommandBars.ExecuteMso(“Copy”)

but

Application.CommandBars.ExecuteMso(“ExportExcel”)

is giving 'invalid procedure call or argument'. As well, no way to
select the object to call the command on...


Thanks

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.