Richard1980
Registered User.
- Local time
- Today, 10:32
- Joined
- Aug 13, 2012
- Messages
- 72
Hello guys,
I need your appreciable help for my first question here. Unfortunately I am an Access newbie user.
I am developing a new tool to import and analyze financial data from an Excel DB, which is created in a quarterly basis with different releases (e.g. for the March 31st 2012 I could have three or four different releases).
This DB is usually created in an Excel file with 5 sheets, every sheet containing a specific named range for a group of cells.
Now, here comes the hard part (for me obviously
). I know already how to import the Excel file in an Access table, but I wish to allow the user to import a specific named range. It would be great if the user could choose with a combobox/listbox which named range to be imported.
With the code
I open the browse window to choose the file and with this code:
I tell MS Access to import the file selected looking at "db_IAS", which is the name of cells range in first sheet. Clearly this method is not customizable enough, because the user cannot act on this.
I hope to be clear in my problem description and hope for your assistance.
Many thanks.
Bye.
Riccardo
I need your appreciable help for my first question here. Unfortunately I am an Access newbie user.

I am developing a new tool to import and analyze financial data from an Excel DB, which is created in a quarterly basis with different releases (e.g. for the March 31st 2012 I could have three or four different releases).
This DB is usually created in an Excel file with 5 sheets, every sheet containing a specific named range for a group of cells.
Now, here comes the hard part (for me obviously

With the code
Code:
Application.FileDialog(msoFileDialogFilePicker)
Code:
DoCmd.TransferSpreadsheet acImport, , , , , db_IAS
I hope to be clear in my problem description and hope for your assistance.
Many thanks.
Bye.
Riccardo