I am currently running a VBA script that imports my Access 2007 table into Excel. I have set it up to import to a sheet in my workbook called 'Data'. In the main sheet, where the calculations are done, I use a sumproduct formula to find and calculate values from the 'Data' tab. In this way I can preserve the standard formatting that is used in the report I am generating.
I would like to find a way in VBA to export the Access data directly into my Excel template without having to store the data in a separate sheet. When I diseminate the report I do not want the data visible to the viewers. I also do not just want to 'hide' the sheet.
Is there a way to do this in VBA? Also, I am looking for something relatively simple. I have heard rumors that there is a simple few lines of code I can add to achieve this.
Thanks,
Alex
I would like to find a way in VBA to export the Access data directly into my Excel template without having to store the data in a separate sheet. When I diseminate the report I do not want the data visible to the viewers. I also do not just want to 'hide' the sheet.
Is there a way to do this in VBA? Also, I am looking for something relatively simple. I have heard rumors that there is a simple few lines of code I can add to achieve this.
Thanks,
Alex