Hi, Firstly I am an absolute novice with respect to VB Coding.... so please be gentle !
This is what I would ideally like to do.
From an 'Import' button on an Access form:
1. Be asked to select the spreadsheet name (i.e. list xls files from the hard drive as the spreadsheet names will change over time)
2. Be asked for the range to import e.g A1:AF20 (this will change and therefore cannot be hard coded)
3. Import the specified range into a specific Access table called 'RC Data'
4. Confirm that the data has been imported (Just a Msg)
Additional Info. The spreadsheets will contain multiple worksheets but the required worksheet will always be called 'Survey'.
I'm thinking something like the 'DoCmd.TransferSpreadsheet' will work but I just don't know how to go about the coding to achieve the above.
Any help would be really appreciated.
Thanks
Gerry