title: How to identify if a text file is unix or windows using excel vba?
body: <p>I need to process some files in Excel that may be in Unix or Windows format.  I already have the right code to read each one, but I need to know in advance the file type before calling the right procedure.</p>
  
  <p>Is there an easy way to identify the file type (Unix / Windows) using VBA?</p>
  
  <p>Thanks</p>