Previous in Forum: Advertisement On Tv As Hurdles Breaking The Programmee Link.   Next in Forum: Handwriting Reqognition Software.
Close
Close
Close
3 comments
Rate Comments: Nested
Guru

Join Date: Feb 2006
Posts: 757
Good Answers: 12

Data Base: How to Import Multi-Worksheet Excel Workbook?

08/22/2011 5:49 AM

Please, for full clarity, let me lay it out completely. Thank you for your patience and your responses.

I have daily record files (about a hundred thus far ... ), each a single-worksheet EXCEL workbook file; actually they are "in duplicate," one each with .XLS and .XLSX (older and newer versions, respectively) extensions. Each record comprises 11 fields.

I have also duplicated and aggregated the same daily records into corresponding, monthly (again, XLS and XLSX) spreadsheet workbooks wherein each worksheet (of up to 31 worksheets) in each month-designated workbook contains the content of one (aforesaid single worksheet) daily (single worksheet) workbook-for example: worksheet #15 in the Excel workbook entitled June Master, when that sheet tab is clicked, displays the June 15, daily file . . . a duplicate (you could say) of the aforesaid, single-worksheet Excel file for that date.

Respecting importation of the spreadsheets, it seems to me I have an option among two choices:

  1. ... to import to the the data base by importing each daily, single-worksheet (say, XLSX) workbook file-a lengthy task because of the volume of daily records requiring individual importation-but highly repetitive, so fairly uncomplicated ( and presumably risk free) to perform, and/or ...
  2. ... to (attempt to) import a monthly, "Master" workbook containing a month's worth of daily records as individual worksheets. (This would be done on the assumption that the "import" process would "recognize" each worksheet in succession as a new delineated record and continue automatically from sheet to sheet (from record to record) until the workbook importation is completed-hopefully without the data base's having to query me for field matching with each successive worksheet it encounters . . . as would be the case with separately opening and importing each daily file (workbook), one after the the other (as in Option 1.).

So, in respect of option 2., I need info about how the data base import feature would "handle" a request to import a master (monthly) Excel workbook comprising more that one work sheet. For example, if the Master (multi-worksheet) file was loaded into the MyDataBase program, would the import routine automatically recognize each worksheet as a separate record and proceed, in order, to import each worksheet until all worksheet (records) have been recorded in the data base?

Would there be any intervention required on my part during the import process?

Have you any other advice as to importing a repetitive-worksheet Excel workbook?

By the weigh, the data base is MyDataBase by Avanquest; but I suppose the answer would be similar for most popular data base applications.

Thank you.

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru
United States - Member - Lifelong New Yorker Popular Science - Biology - Animal Science Technical Fields - Technical Writing - Technical Writer

Join Date: Mar 2008
Location: NY
Posts: 2313
Good Answers: 59
#1

Re: Data Base: How to Import Multi-Worksheet Excel Workbook?

08/22/2011 10:51 AM

I'm not sure how to do what you're requesting (upload from multiple sheets) so I don't know how much help this'll be - but we do something similar as far as importing lots of Excel files to SQL Server.

In order to make this easier we simply wrote some SQL that automates the import. Now all we have to do is click a button and choose a file. All of the table/field selection steps are skipped. The import occurs automatically and it lets us know if there were any errors.

It seems like something similar could be written and multiple files could be selected and lined up for import.

Register to Reply
Member

Join Date: Aug 2011
Posts: 8
#2

Re: Data Base: How to Import Multi-Worksheet Excel Workbook?

08/22/2011 11:25 PM

Hi

Go to the following sites. Register and you can get the best help there from specialists in this field. It's free to register, and keep this in your favorites for future use.

http://www.access-programmers.co.uk/forums/

http://www.utteraccess.com/forum/index.php?app=portal

You can't know everything, that's why you have to ask!!

Register to Reply
Guru

Join Date: Oct 2009
Posts: 1460
Good Answers: 30
#3

Re: Data Base: How to Import Multi-Worksheet Excel Workbook?

08/23/2011 5:25 AM

Do you have access to a friendly systems analyst? What you are doing is far too complicated. First, you don't need duplicates in the form of .xls and .xlsx: new software versions are capable of reading old formats. Second, you don't need daily worksheets and monthly workbooks containing the identical data. What you need is the monthly book to make the daily entries, plus a daily backup.
We are now down to a fraction of your previous number of files, which will make any automation much easier. It would be easier still if your systems analyst took a look at the layout of your data entries, which I suspect might also be less than organised. He might even suggest forgetting about the Excel spreadsheets altogether, and making the entries straight into the database. Good luck.

Register to Reply Score 1 for Good Answer
Register to Reply 3 comments

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

phph001 (1); Racdata (1); SavvyExacta (1)

Previous in Forum: Advertisement On Tv As Hurdles Breaking The Programmee Link.   Next in Forum: Handwriting Reqognition Software.

Advertisement