0 Replies Latest reply on Apr 24, 2006 10:59 PM by ANNA_DRA

    3704 Operation is not allowed when the object is closed.

    ANNA_DRA
      Hi,
      I am Coldfusion7.0, i want me to access the com object from excel file.
      this is code i am written in cfml

      <cfobject type="COM" action="create" class="aaaaaaaa.document" name="obj" context="InProc">
      <cfscript>
      obj.templateConsolidated=GetDirectoryFromPath(GetBaseTemplatePath()) & "aaaaaa.xls";
      obj.rmp_project_id=url.rmp_project_id;
      WriteOutput("The obj.create()--->"&obj.create());
      return_val=obj.create();
      }
      </cfscript>


      plz help me