Excel 2007 import text file VBA code - Origin:=

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.
 
J

jaf

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top