Microsoft
Software
Hardware
Network
Question : Microsoft Access 2007 - Export Changing Db Data into Formated Excel Spreadsheet
I've been looking for information on how to do this...but been unsuccessful. Here's what I am looking for...
With the click on a button, data held within a table should be exported to a specific page within an Excel 2007 workbook, within specific named ranges. The named ranges are part of graphs within the workbook, therefore the reference between the data and the graph need to be changed as well to prevent graphs appearing as "waiting for more data" to be added.
I've included basic sample files of each to show where I need to start from (the db) and where I need to end up (the workbook)
Sample.accdb
(336 KB)
(File Type Details)
Access 2007 Sample Db
Sample.xlsx
(12 KB)
(File Type Details)
Excel 2007 Sample Workbook with Graphs
Answer : Microsoft Access 2007 - Export Changing Db Data into Formated Excel Spreadsheet
assuming cells A:B7 is Named "range1"
use this codes
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel12, "ScoreGroup1", CurrentProject.Path & "\Sample.xlsx", -1, "range1"
Random Solutions
CBT for lotus notes 8.5 and sametime 8.5
802.1q trunk
What is the default for ExpiresDefault
Redistributing RIP into OSPF non-contiguous subnets.
Upgrade mixed mode Windows 2000 forest/domain to Windows 2008 R2 forest/domain
How to have a Stable Microsoft Outlook profile with 4-5GB+ data w/ MS Exchange Mail server ?
How do I hide site tabs from certain users?
ipconfig shows lots of "tunnel adapters", what are they?
How to configure Active Sync in Exchange 2003 and iPhone 3GS
In Outlook, Advanced Find - Search for Attachment name