Exporting Report to Certain fields in existing Excel Spreadsheet

ximistar

Registered User.
Local time
Today, 03:41
Joined
Nov 11, 2015
Messages
15
Hi everyone,

I am trying to export a report to an Excel spreadsheet and I want the data in the report to be pasted into certain fields into an existing excel spreadsheet that already has been created with formulas.

Is this possible? if so how!!!!

Thank you
 
You can't export a Report, you export data.
If you want to place the data in a certain cell block, you must take control of XL.

Code:
Set XL =excel.application
With XL
    'Open file 
...
  Set rst = currentdb.openrecordset("qsQuery")
  .rsnge("g4").select
  .copyfromrecordset Rst
...
 

Users who are viewing this thread

Back
Top Bottom