7 Replies Latest reply: Nov 17, 2009 3:33 AM by Amir Vastani RSS

    Macro error for space in File Path and File Name

    Amir Vastani

      vbscript error Object required: '[string: Cha

      I get the error above when trying to set the filepath to


      dim fileName
      set fileName = ActiveDocument.Evaluate("'\\servername\folder one\folder two\folderthree\my filename.txt'")

      i even tried without the ActiveDocument and single quotes and still got the same error. Anyone encounter this issue before? thanks for your help.