Solved

Exporting an Access 2003 Report to excel

Posted on 2006-10-27
11
199 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
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…
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…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

828 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