Test a file to retrieve format

  • Thread starter Thread starter Ago
  • Start date Start date
A

Ago

Hi,
I have to test a file in a dir from VBA (Excel 2000) to
verify if the format is Excel, csv or other.
Do anyone know how this could be done?

Thank you

Ago
 
I think you have to go by the file extension. To actually open the file and
examine its bytes would be a tough row to hoe.
 

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

Back
Top