Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Export list of all reports to excel 1

Status
Not open for further replies.

NeilT123

Technical User
Jan 6, 2005
302
GB
Is there a way to export a list of all my report names (and query names if possible) to Excel?
 
You can export this query:
Code:
SELECT msysobjects.Name, IIf([Type]=5,"Query","Report") AS ObjectType
FROM msysobjects
WHERE (((msysobjects.Name) Not Like "~*") AND ((msysobjects.Type) In (-32764,5)));
You should also be able to link this information from within Excel.

Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
That was exactly what I wanted, thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top