PC Review


Reply
Thread Tools Rate Thread

Automatic Report Exporting

 
 
akemeny
Guest
Posts: n/a
 
      1st Oct 2008
I'm working with Access 2003 on a company project. We have an excel
spreadsheet that is linked to our main data. That linked spreadsheet is then
linked to an Access table to enable us to run certain reports faster. What I
need is a macro or VBA that will automatically update the report and then
export a copy of the report to a specific excel workbook.

For example:

I have a report run called Master. Every Friday the Master report needs to
be updated and exported to Excel.

Is this possible??
 
Reply With Quote
 
 
 
 
Alex Dybenko
Guest
Posts: n/a
 
      1st Oct 2008
Hi,
I think you can use docmd.OutputTo or OutputTo macro action to export
report to excel. But this will make a separate file, so then you need copy
data from one file to another

--
Best regards,
___________
Alex Dybenko (MVP)
http://accessblog.net
http://www.PointLtd.com


"akemeny" <(E-Mail Removed)> wrote in message
news:13873D17-FCF1-45F5-A652-(E-Mail Removed)...
> I'm working with Access 2003 on a company project. We have an excel
> spreadsheet that is linked to our main data. That linked spreadsheet is
> then
> linked to an Access table to enable us to run certain reports faster.
> What I
> need is a macro or VBA that will automatically update the report and then
> export a copy of the report to a specific excel workbook.
>
> For example:
>
> I have a report run called Master. Every Friday the Master report needs
> to
> be updated and exported to Excel.
>
> Is this possible??


 
Reply With Quote
 
akemeny
Guest
Posts: n/a
 
      1st Oct 2008
I tried doing a Macro for OutPutTo, but it keeps giving me a Type MisMatch
error. For some reason when it goes to Export the report to Excel it won't
read the xls as a file type. It keeps trying to export as "All Types". Even
when I specify in the Macro to export to Excel 97-2003 it still does that.
How can I change that?

"Alex Dybenko" wrote:

> Hi,
> I think you can use docmd.OutputTo or OutputTo macro action to export
> report to excel. But this will make a separate file, so then you need copy
> data from one file to another
>
> --
> Best regards,
> ___________
> Alex Dybenko (MVP)
> http://accessblog.net
> http://www.PointLtd.com
>
>
> "akemeny" <(E-Mail Removed)> wrote in message
> news:13873D17-FCF1-45F5-A652-(E-Mail Removed)...
> > I'm working with Access 2003 on a company project. We have an excel
> > spreadsheet that is linked to our main data. That linked spreadsheet is
> > then
> > linked to an Access table to enable us to run certain reports faster.
> > What I
> > need is a macro or VBA that will automatically update the report and then
> > export a copy of the report to a specific excel workbook.
> >
> > For example:
> >
> > I have a report run called Master. Every Friday the Master report needs
> > to
> > be updated and exported to Excel.
> >
> > Is this possible??

>

 
Reply With Quote
 
Alex Dybenko
Guest
Posts: n/a
 
      2nd Oct 2008
Hi,
ok, make a backup copy of your report and try to delete columns one by one,
to find out which one cause the problem. Perhaps this will help then:
http://accessblog.net/2007/03/export...-to-excel.html

--
Best regards,
___________
Alex Dybenko (MVP)
http://accessblog.net
http://www.PointLtd.com


"akemeny" <(E-Mail Removed)> wrote in message
news:39345FD3-EEF9-402F-90BB-(E-Mail Removed)...
> I tried doing a Macro for OutPutTo, but it keeps giving me a Type MisMatch
> error. For some reason when it goes to Export the report to Excel it
> won't
> read the xls as a file type. It keeps trying to export as "All Types".
> Even
> when I specify in the Macro to export to Excel 97-2003 it still does that.
> How can I change that?
>
> "Alex Dybenko" wrote:
>
>> Hi,
>> I think you can use docmd.OutputTo or OutputTo macro action to export
>> report to excel. But this will make a separate file, so then you need
>> copy
>> data from one file to another
>>
>> --
>> Best regards,
>> ___________
>> Alex Dybenko (MVP)
>> http://accessblog.net
>> http://www.PointLtd.com
>>
>>
>> "akemeny" <(E-Mail Removed)> wrote in message
>> news:13873D17-FCF1-45F5-A652-(E-Mail Removed)...
>> > I'm working with Access 2003 on a company project. We have an excel
>> > spreadsheet that is linked to our main data. That linked spreadsheet
>> > is
>> > then
>> > linked to an Access table to enable us to run certain reports faster.
>> > What I
>> > need is a macro or VBA that will automatically update the report and
>> > then
>> > export a copy of the report to a specific excel workbook.
>> >
>> > For example:
>> >
>> > I have a report run called Master. Every Friday the Master report
>> > needs
>> > to
>> > be updated and exported to Excel.
>> >
>> > Is this possible??

>>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Report exporting different data from what is on the report sk Microsoft Access Reports 1 29th Apr 2010 07:02 PM
Exporting emails from the automatic email recognizer Cangulospates Microsoft Outlook Discussion 1 25th Jun 2009 09:13 PM
Exporting Outlook Labels and Automatic Formatting Rules =?Utf-8?B?Q2hhcmxlcw==?= Microsoft Outlook Calendar 3 18th May 2009 08:55 PM
Exporting a report with group to excel same as Crystal Report. Marjaneh Microsoft Access Reports 1 29th Dec 2007 06:14 AM
automatic exporting of data da_big_k Microsoft Excel Programming 1 11th Jan 2006 04:58 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:06 PM.