dkmoreland
Registered User.
- Local time
- Yesterday, 19:33
- Joined
- Dec 6, 2017
- Messages
- 129
[SOLVED] Importing non-contiguous ranges from Excel
This is actually a two part question - I need to import several fields from an Excel spreadsheet that is generated from another program. The spreadsheet is always on the user's personal mapped drive - call it the U: drive, since all the mapping is the same.
This spreadsheet is formatted in such a way that does not lend itself to easy importing. All of the cells are named (JobID, JobDesc, etc). I need to import about a dozen non-contiguous cells into a single existing table. These imports will only contain one record each time.
I would also like to provide a button to bring up the file dialog specifically for the U: drive that lists only the Excel files. Then when the user selects their file, it will do the import.
So, specifically, here are my questions:
I have spent a few hours searching forums for an answer but haven't found a method that I can make work.
Any advice would be very much appreciated.
This is actually a two part question - I need to import several fields from an Excel spreadsheet that is generated from another program. The spreadsheet is always on the user's personal mapped drive - call it the U: drive, since all the mapping is the same.
This spreadsheet is formatted in such a way that does not lend itself to easy importing. All of the cells are named (JobID, JobDesc, etc). I need to import about a dozen non-contiguous cells into a single existing table. These imports will only contain one record each time.
I would also like to provide a button to bring up the file dialog specifically for the U: drive that lists only the Excel files. Then when the user selects their file, it will do the import.
So, specifically, here are my questions:
- How can I bring up a file dialog that will default to their user drive?
- Can the Transfer Spreadsheet method import non-contiguous ranges into the same table?
- If not, is there a way around it?
I have spent a few hours searching forums for an answer but haven't found a method that I can make work.
Any advice would be very much appreciated.
Last edited: