Hi All,
I am trying to send a filtered report with on record on it for takings and sickness i can filter through macro but cant get it to send the report by e-mail if it can be done through macro please let me know.
if not i want to do it through vba but am having problems in creating the filter i have looked on here and on google but cant seem to get it to work.
what i have is
all this in an if statment
i am wanting to select a date through a combo box (date select) once selected press a cmd button that will show the records of query weekly sickness that is shown through a report. i also want to send the report to an email address but instead of typing direct to the code i want a setting form that will store the email address just if need to change it i dont have to re write any code.
Any help on this would be great.
Regards
Aidan
I am trying to send a filtered report with on record on it for takings and sickness i can filter through macro but cant get it to send the report by e-mail if it can be done through macro please let me know.
if not i want to do it through vba but am having problems in creating the filter i have looked on here and on google but cant seem to get it to work.
what i have is
Code:
Me.filter = ("Weekly Takings.date = "" & me.date_select.value & """)
Me.FilterOn = True
all this in an if statment
i am wanting to select a date through a combo box (date select) once selected press a cmd button that will show the records of query weekly sickness that is shown through a report. i also want to send the report to an email address but instead of typing direct to the code i want a setting form that will store the email address just if need to change it i dont have to re write any code.
Any help on this would be great.
Regards
Aidan