Hi, I'm trying to export data from Excel to a Database in Access, this is the code i have at the moment
Now, if the date thats on the Header Sheet (B6) in excel matches the date in Access, it will overwrite the data (Customer name, customer account etc), but if it doesnt see that date (in Access) in the Date field (in excel), it will create a new record in access.
Now the problem is, when it gets to that IF statement, if brings up an error that no data is in that record if the database table is empty, i would have thought the else would kick in.
Any ideas how to get past this?
Many Thanks
David
Bookmarks