peskywinnets
Registered User.
- Local time
- Today, 18:05
- Joined
- Feb 4, 2014
- Messages
- 578
So I have a large database, at the end of the day I run a macro. the macros runs VBA code & queries. Simples.
What I need is a way of having this macro to check two conditions in a database ('emailed' = false, 'EC' = true) & if there are any rows with these conditions met, then to run some other (extra) queries.
Now I'm aware of the 'If' option in a macro, but how do I use it to check to see if those two conditions are met?
What I need is a way of having this macro to check two conditions in a database ('emailed' = false, 'EC' = true) & if there are any rows with these conditions met, then to run some other (extra) queries.
Now I'm aware of the 'If' option in a macro, but how do I use it to check to see if those two conditions are met?