cyclonebri
01-31-2002, 08:50 AM
Hi all,
I am making an application that reads data from our SQL Server to an excel spreadsheet, which I then want to save as a Web page after the data is in the spreadsheet.
I have 2 questions, and if anyone can help or point me in the right direction I would be much obliged...
1) I am trying to save the application as a websheet, so I use the following line:
xlsApp.ActiveWorkbook.SaveAs "X:\test\" & filename & ".htm", xlHtml
however this gives me an application exception memory error and crashes the VB application. Can anyone help me figure out what is wrong with that line of code?
2) There is a place on the webpage save menu that, when selected, checks a box entitled "Add Interactivity" How can I make this default to true?
Thanks in advance for any help you can offer me!
Brian
I am making an application that reads data from our SQL Server to an excel spreadsheet, which I then want to save as a Web page after the data is in the spreadsheet.
I have 2 questions, and if anyone can help or point me in the right direction I would be much obliged...
1) I am trying to save the application as a websheet, so I use the following line:
xlsApp.ActiveWorkbook.SaveAs "X:\test\" & filename & ".htm", xlHtml
however this gives me an application exception memory error and crashes the VB application. Can anyone help me figure out what is wrong with that line of code?
2) There is a place on the webpage save menu that, when selected, checks a box entitled "Add Interactivity" How can I make this default to true?
Thanks in advance for any help you can offer me!
Brian