Daniel has attended:
Access Intermediate course
Importing tables
i need to import data each month from Excel, say a monthly file. My queries are set up to look at the current table, say Jan09 however, when I import Feb, I need my queries to now look at feb09. To get round this i call the file "Current Month" so the queries are always looking at this table. I then make a copy of this to save the original, import the new monthly data calling it feb09, rename the table Current Month, and then rename the Feb09 file to Current Month. Therefore the table Current Month now contains the latest monthly data and the queries are still looking at the right table. I would like some sort of prompt / macro to ask which table my queries should be looking at. I then select Feb09 after importing it for example, and the the queries will then look at it. This means i wouldn't have to copy / paste Current Month all the time. Another way i've got round it is by adding a "Month" column to the Excel file before importing, and then appendng it to the "Current Month" table. Actually, after today, a parameter query might be the answer so the user can select which month?? Sorry if this is confusing! Danny.
RE: importing tables
Hi Daniel
Thanks for your post, one of our VBA trainers has had a look at this and their initial suggestions are that if you have done any VBA in Access or Excel before then it would be beneficial for you to attend our 2 day Introduction VBA courses, more information please click here
Alternatively you can specify your work to us and we can help in a consultancy role with agreed objectives and costs.
Hope this helps.
Regards
Jacob