Hi all,
I am a relative newbee when it comes to vba although I am very useful in that I have a good level of understanding of excel and access functionality.
I have a mailmerge query that pulls by date (-14days from a chosen field date).
What I need to do is to fill the date the query ran in textboxes on each of the query pulls to say they have been queried. I can't figure out how to automate it.
Therefore:
Say I have "mailmerge1date" textbo that is empty.
I run "mailmerge1". I need to populate "mailmerge1date" textbox with the date I ran "mailmerge1".
Because
I will run another merge query after that which will list all entries that haven't received a response in a defined time time (so "mailmerge2" date will need be put into textfield "mailmerge2date".
This is a must for all entries as it is debt package so I need to be able to guarantee if a cust received mailmerge1, then 2 weeks later, if no response, they are included on mailmerge2's list (and so on).
Any thought so recommendations would be appreciated.
I have the merges and the dates, I just need to know how to autofill each textbox with a date after each mergequery.
many thanks in advance.
I am a relative newbee when it comes to vba although I am very useful in that I have a good level of understanding of excel and access functionality.
I have a mailmerge query that pulls by date (-14days from a chosen field date).
What I need to do is to fill the date the query ran in textboxes on each of the query pulls to say they have been queried. I can't figure out how to automate it.
Therefore:
Say I have "mailmerge1date" textbo that is empty.
I run "mailmerge1". I need to populate "mailmerge1date" textbox with the date I ran "mailmerge1".
Because
I will run another merge query after that which will list all entries that haven't received a response in a defined time time (so "mailmerge2" date will need be put into textfield "mailmerge2date".
This is a must for all entries as it is debt package so I need to be able to guarantee if a cust received mailmerge1, then 2 weeks later, if no response, they are included on mailmerge2's list (and so on).
Any thought so recommendations would be appreciated.
I have the merges and the dates, I just need to know how to autofill each textbox with a date after each mergequery.
many thanks in advance.