Solved

Exporting an Access 2003 Report to excel

Posted on 2006-10-27
11
197 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
  • 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
 
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
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Familiarize people with the process of utilizing SQL Server functions 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 Microsoft Ac…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now