4 Replies Latest reply: Feb 27, 2013 10:44 AM by Rob Wunderlich RSS

    How to export the text of a variable

    Michael Ellerbeck

      I've been able to export an object to xml using

       

      set oTable = ActiveDocument.GetSheetObject( "Note_Export" )

      oTable.ExportXml "\\RemotePath\Test\" + sFileName

       

      It looks like I can get the text of a variable by doing

       

      set Var = ActiveDocument.Variables("Note").GetContent.String

       

      But how to save this to a file?