Jump to content
Sign in to follow this  

Data Interchange Format (.DIF) UDF

Recommended Posts

I had a need for processing data that came in .DIF files, so I put this UDF together to handle the files.

Hopefully, it will be of value to others here in the forums.

DifHandler reads data from a .DIF file to an array, or writes data from an array to a .DIF file.

I have also added support for the Microsoft mistake, and can read .DIF files generated by Excel.

You can download it from here:  https://www.dropbox.com/s/4z8m7kgqw7oi7e9/DifHandler.zip

Please let me know if there are any problems or improvements.


I have been finding that lots of applications do not adhere to the specs very well, so ...

Here is version 2, written to be a little more forgiving.  It will still set the appropriate @error value, but will still attempt to read the full DIF file, and return it in the array.


Edited by willichan

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...