I am trying to run code with a macro. I have the code set as a function, then I'm trying to call the function in the macro. Here's my module code:
Private Function RunEmailBlast() As String
Dim strResults As String
DoCmd.Hourglass True
strResults = TotalAccessEmailer(1, False, "Form", "Total Access Emailer", True, True, "usysTEmailerSettings", "usysTEmailerOptions", "usysTEmailerEmbedded")
DoCmd.Hourglass False
RunEmailBlast = strResults
End Function
And here's my macro:
This is not working. When I click the macro, nothing happens. Any ideas what I'm doing wrong?
Thanks in advance. c