Brad Marks
BradM at blackforestltd.com
Wed Jun 29 14:42:54 CDT 2011
All, I have just started to experiment with "Windows Automation" code. I have a small Access 2007 application that uses a Record Set to populate the cells in an Excel spreadsheet and then automatically create a simple chart (in Excel). This all works nicely. Here is the Access VBA code that adds the Chart XLSheet.Shapes.AddChart.Select I would like to be to control the "Type" of Chart that is generated in Excel. I recorded an Excel Macro while in Excel to see the code that Excel uses. I then tried to use this code in Access VBA, but did not have luck. Does anyone have an example of how to create an Excel Chart in Access VBA and be able to control the Chart type? Thanks for your help. Brad