If you want to learn basic VBA within the SolidWorks environment, the free content at CADSharp.com should help.
I don't know how many, or if any, VBA examples exist for EPDM. So you may have to translate them from VB.NET (which isn't very hard). The official EPDM API manual uses VB.NET. Heads up though, not every single EPDM interface appears to work in 2011, though most do. See this thread.
Should you decide to go the VBA right, you will want to learn how to use the File System Object to read text files. Google it---there are lots of code samples. The premium membership videos at CADSharp.com also cover the FSO, however, like Lesson 1.10 and 6.3.
If you want to learn some basic EPDM API, then check out Mike Spens' SolidWorks World 2012 presentation called "Introduction to the SolidWorks Enterprise PDM API". You can get to it here.
Hope this helps,