Question : Import Tool


Hi,

I have users who are importing multiple spreadsheets into one Access table, they currently edit spreadsheets before dropping data in.

Can i build a tool in Access which allows users to choose fields prior to import or does the import tool already cover that, i suppose my question is, can i build a better tool using VBA or is the inbuilt import function as good as it gets?

Thanks
Seamus

Answer : Import Tool

Got it.

Please change the line

wb1.Sheets("Data").Range("B25:R42").Copy _
    wb2.Sheets("Overtime").Range("B3:R20")

To

wb1.Sheets("Data").Range("B25:R42").Copy
wb2.Sheets("Overtime").Range("B3:R20").PasteSpecial xlPasteValues
Random Solutions  
 
programming4us programming4us