Peter Rattigan
Board Regular
- Joined
- Oct 18, 2004
- Messages
- 77
I am building an application that uses Access2k as the frontend to collect a range of data then exports that to Excel using "transferspreadsheet".
In Excel I use a userform (tabbed control)to display the results with graphs etc. On one of the tabbed pages I have used a MS Office Spreadsheet Control 9.0 to display a formatted spreadsheet which loads each time the Workbook is opened. In Office 2000 this worked beautifully.
I then loaded the application on an Office 2003 PC and the fun starts. First. I find that the Spreadsheet contol is not there anymore and causes a code break. I searched through the Contol Toolbox Add-ins and can't find any reference to a MS Office Spreadsheet Control 9.0, just 10.0 and 11.0. So I add the 10.0 and run the code and the spreadsheet is loaded with data but does not mirror the formatting of the spreadsheet is is copying.
I need to make this application work on any machine I load onto but if the 10.0 or 11.0 dont format the same then it is not a good alternative.
Is there a an automatic way to add 9.0 to Office 2003 PC's?
The second problem on the 2003 system is that when the the code starts running on the workbook-Open event it now generates a message saying " This Application is about to initialize Active X controls that might be unsafe, do you wish to continue". I need to turn this off but can only find a reference on the MS site (Article ID 827742) to amending registry keys to stop it. Lowering security settings doesn't help. Is any one aware of a way of turning this off that can be automated for install on other PC's.
Thanks for any suggestions.
In Excel I use a userform (tabbed control)to display the results with graphs etc. On one of the tabbed pages I have used a MS Office Spreadsheet Control 9.0 to display a formatted spreadsheet which loads each time the Workbook is opened. In Office 2000 this worked beautifully.
I then loaded the application on an Office 2003 PC and the fun starts. First. I find that the Spreadsheet contol is not there anymore and causes a code break. I searched through the Contol Toolbox Add-ins and can't find any reference to a MS Office Spreadsheet Control 9.0, just 10.0 and 11.0. So I add the 10.0 and run the code and the spreadsheet is loaded with data but does not mirror the formatting of the spreadsheet is is copying.
I need to make this application work on any machine I load onto but if the 10.0 or 11.0 dont format the same then it is not a good alternative.
Is there a an automatic way to add 9.0 to Office 2003 PC's?
The second problem on the 2003 system is that when the the code starts running on the workbook-Open event it now generates a message saying " This Application is about to initialize Active X controls that might be unsafe, do you wish to continue". I need to turn this off but can only find a reference on the MS site (Article ID 827742) to amending registry keys to stop it. Lowering security settings doesn't help. Is any one aware of a way of turning this off that can be automated for install on other PC's.
Thanks for any suggestions.