OWC Error

Results 1 to 2 of 2

Thread: OWC Error

  1. #1
    Join Date
    Dec 1969

    Default OWC Error

    Can anyone explain why I am getting this error:<BR><BR>Microsoft VBScript compilation error &#039;800a0414&#039; <BR><BR>Cannot use parentheses when calling a Sub <BR><BR>objSS.ActiveSheet.Export("D:wrkgrp est.xls", 0)<BR>-------------------------------------------------^<BR><BR>The code I am using is:<BR><BR>Dim objSS<BR>Set objSS = Server.CreateObject("OWC.Spreadsheet")<BR><BR>objS S.Range("A1").Value = "Location"<BR>objSS.Range("A1").Font.Bold = True<BR>objSS.Range("A2").Value = objRSA.Fields("Contact.Site")<BR><BR>objSS.ActiveS heet.Export("D:wrkgrp est.xls", 0)

  2. #2
    Join Date
    Dec 1969

    Default RE: OWC Error

    Try this:<BR>objSS.ActiveSheet.Export "D:wrkgrp est.xls", 0 <BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts