Hi,
I'm a complete noobie at Access but do have some experience coding Excel VBA. My problem is I can't find how to attach my VBA code to my query!
I have some validation code which I would like to add to a make table query. So the query will run, then my code will fire to validate and correct the data in the newly created table (all database queries use this table as the root).
I know this is usually done in the user data entry form, but this database dosn't have forms. Data is imported directly from Excel using VBA.
Any advice will be much appreciated.
Thanks,
Knifey
I'm a complete noobie at Access but do have some experience coding Excel VBA. My problem is I can't find how to attach my VBA code to my query!
I have some validation code which I would like to add to a make table query. So the query will run, then my code will fire to validate and correct the data in the newly created table (all database queries use this table as the root).
I know this is usually done in the user data entry form, but this database dosn't have forms. Data is imported directly from Excel using VBA.
Any advice will be much appreciated.
Thanks,
Knifey