Exporting Reports with subreports to excel (1 Viewer)

Snappy

New member
Local time
Today, 10:20
Joined
Sep 20, 2012
Messages
10
This code works fine and gets me what I need. But is there a way to have this code tell it to start on a certain line and not do headings. I want the template to have the headings. Thanks,
 

GinaWhipp

AWF VIP
Local time
Today, 10:20
Joined
Jun 21, 2011
Messages
5,900
So sorry for delay, work just went crazy. You are using...
DoCmd.OutputTo acOutputReport, outReportData, acFormatXLS, xlFileName

I do not use that so I do not know of a way to specify where on the Template to drop it. Using code is the only I for that with which you can specific what row and\or column to start placing your data.
 

Isaac

Lifelong Learner
Local time
Today, 07:20
Joined
Mar 14, 2017
Messages
8,777
This code works fine and gets me what I need. But is there a way to have this code tell it to start on a certain line and not do headings. I want the template to have the headings. Thanks,
Maybe just output the queries instead.
 

GinaWhipp

AWF VIP
Local time
Today, 10:20
Joined
Jun 21, 2011
Messages
5,900
Outputting to queries won't work as you STILL need a way to tell it where on the Template to go.
 

Isaac

Lifelong Learner
Local time
Today, 07:20
Joined
Mar 14, 2017
Messages
8,777
Outputting to queries won't work as you STILL need a way to tell it where on the Template to go.
I guess I was thinking of avoid a 'report' header, but if they are wanting to avoid even column aliases I see what u mean
 

Users who are viewing this thread

Top Bottom