A family of Microsoft relational database management systems designed for ease of use.
The first step of course is to get the data into visio to start the process. You can accomplish this either manually using odbc to import the data or programattically. For a great tutorial on manipulating Excel I would check out this work by an Excel MVP
http://www.siddharthrout.com/vb-dot-net-and-excel/
Don't worry about it being in vb.net, it is close enough to vba to be not an issue.
The second step is to read the imported information from the datarecordset(s) as xml and then save them within the document. For this step I would get a copy of the v2010 SDK (which is free) and examine the example code.
https://www.microsoft.com/en-us/download/details.aspx?id=12365
There are several articles on-line which talk to solution xml that can give additional guidance.
hth,
al edlund