data card info from Excel file

How can I get the data card to get the file name from an Excel file? For example, I want to make a field called "document number" and have the data card retrieve the information from an Excel file (EC1234) and populate the field. Any help would be appreciated.

SolidworksSolidworks Pdm enterprise Pdm