Dear Ranman256, thank you so much for your quick reply! I copied my code in the following:
UG Added Code Tags
Public Function createSurveyDistributionLinks(strSubject As String, strMessageID As String, strRecipients As String, strSurveyID As String, dtSendDate As Date, dtExpirationDate As Date)...