I have several fairly good-sized Excel worksheets (indexed by WorksheetID
) that essentially amount to flat database tables: rows are the records (indexed by DataRecordID
within one worksheet), columns are the fields (indexed by DataFieldID
within one worksheet), and the cells contain the field values (Value
) for the appropriate records (or are blank).
I'm interested in breaking them apart to (many) records like this so that I can import them into MS Access:
ID | WorksheetID | DataRecordID | DataFieldID | Value
I've already done this manually. I see that it's probably a straightforward matter to write a VBA script to chug through the sheets and (optionally) delete the records in the final table.
My question is: Before I roll up my sleeves and begin coding, is there already a built-in capability in Excel 2010 that I don't even need to write a script to do this?