Solved

Exporting an Access 2003 Report to excel

Posted on 2006-10-27
11
200 Views
Last Modified: 2008-02-01
Hi all.

I want to export an access report to excel but when I do it does not export the labels.

How can I get the labels do appear in excel?
0
Comment
Question by:printmedia
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
11 Comments
 

Author Comment

by:printmedia
ID: 17822231
also the information I have the report footer does not export.
0
 
LVL 65

Expert Comment

by:rockiroads
ID: 17822342
What command did u use to export to xls?
did u try summat like

DoCmd.OutputTo acOutputReport, "ReportName", acFormatXLS, "c:\myrep.xls", True


0
 

Author Comment

by:printmedia
ID: 17822367
No i go to Tools --> Office Links --> Analyze with Excel
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 65

Expert Comment

by:rockiroads
ID: 17822406
I dont know if there are limitations with that

Can u try in code, just as a test, using the sample code provided
0
 
LVL 65

Expert Comment

by:rockiroads
ID: 17822410
Actually, come to think of it

U cant get a report format layout in Excel can u?
0
 

Author Comment

by:printmedia
ID: 17822425
Well I got most of the report by using textboxes instead of labels, the only thing that isn't working is the information in the report footer.
0
 
LVL 65

Expert Comment

by:rockiroads
ID: 17822435
Have u considered using Snapshots?
0
 

Author Comment

by:printmedia
ID: 17822443
i've never heard of that. What is that?
0
 
LVL 65

Accepted Solution

by:
rockiroads earned 500 total points
ID: 17822504
You have heard of PDF, well Microsoft have their own version. It keeps a snapshot of your report (all pages) into its own format and like PDF, u need a viewer to read it

The viewer is a free download,

Access, format is acFormatSNP

e.g.

DoCmd.OutputTo acOutputReport, "MyReport", acFormatSNP, "c:\myrep.snp", True

http://support.microsoft.com/kb/175274
0
 

Author Comment

by:printmedia
ID: 17833541
Thanks!
0
 
LVL 65

Expert Comment

by:rockiroads
ID: 17833914
No worries, hopefully Snapshots is something that is a suitable alternative
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

736 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question