Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Sytax for using <code>CreateTextFile</code> method is something like <code>object.CreateTextFile(filename[, overwrite[, unicode]]) </code>. Where:</p> <ul> <li><code>filename</code>: Required. String expression that identifies the file to create. </li> <li><code>overwrite</code> Optional. Boolean value that indicates if an existing file can be overwritten. The value is True if the file can be overwritten; False if it can't be overwritten. If omitted, existing files are not overwritten. </li> <li><code>unicode</code> Optional. Boolean value that indicates whether the file is created as a Unicode or ASCII file. The value is True if the file is created as a Unicode file; False if it's created as an ASCII file. If omitted, an ASCII file is assumed. </li> </ul> <p>And you have omitted the last param here, but incoming text, being <code>Chinese</code> is not just <code>ASCII</code>. Rather you have to provide a <code>True</code> value for that, I mean for <code>unicode</code> param. This would definitely solve the problem.</p> <p>BTW! There are still some factors I can see in the code might cause other run-time errors.</p> <ul> <li>As you generating filename by joining cell values, make sure no invalid characters is not present in the path string,</li> <li>Furthermore, only setting <code>overwrite</code> value to <code>true</code> is not enough, but also make sure that the folder already exist. Otherwise the procedure would again caught by run-time errors.</li> </ul> <p>Hope this helps. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload