DHTML and Excel web component
I am sorry if this is stupid but I am very new at this. I would like to export an excel doc and I am using the following code with a DHTML file and office web component control of excel
Private Function SubmitButton1_onclick() As Boolean
Spreadsheet1.Export ("C:\Documents and Settings\paulg\Desktop\Copy of ravens 03.xml",ocw10.ssExportActionNone)
End Function
I get an error saying expected expression =
if I take out the ocw10.ssexportactionone then it works fine except it tries to open the file after it has been exported. Can someone tell me what I did wrong? I would greatly appreciate it.
Thank you in advance
Again I apologize if this stupid or not dueable.