Excel 2007 import text file VBA code - Origin:=

  • Thread starter Thread starter NLC
  • Start date Start date
N

NLC

In the code for text file importing Origin:= seems to always be 437 but I
haven't been able to locate a source for what that code means or what other
code options might exist.
 
Hi,
Tried help?
Origin: Optional Variant. Specifies the origin of the text file. Can be one of the following XlPlatform constants: xlMacintosh,
xlWindows, or xlMSDOS. Additionally, this could be an integer representing the code page number of the desired code page. For
example, "1256" would specify that the encoding of the source text file is Arabic (Windows). If this argument is omitted, the method
uses the current setting of the File Origin option in the Text Import Wizard.

Tried google?
437 is the code page.
http://en.wikipedia.org/wiki/Code_page_437


John
 
Back
Top