Skip to content

VBA APIs to invoke CCH Tagetik email services

Details of API services to invoke CCH Tagetik email services

TGK_sendEMail

Element Description
Syntax dim bResult as boolean dim cella as range set cella = .... bResult = Application.run("Tgkrmacro.xlam!TGK_sendReportingEMail", cella , rcpt,cc,bcc,subject, body)
Description Sends an email to a list of recipients.
Necessary parameters - RCPT: List of Recipients (array of strings). - SUBJECT: Mail subject. Cannot be empty. - BODY: Email body. Cannot be empty. Note: the recipient can be a CCH Tagetik username or an external email address in the form recipient@domain.
Optional parameters - CC: List of recipients CC'd. - BCC: List of recipients BCC'd. - CELL: Not used. Only present for the purposes of compatibility with previous versions. - BODY: Email body. Cannot be empty.
Value returned TRUE if the email was sent successfully, FALSE otherwise.

TGK_sendEMailWithFilters

Element Description
Syntax dim bResult as boolean dim filters bResult = Application.run("Tgkrmacro.xlam!TGK_sendReportingEMail", filters , arrDest,cc,bcc)
Description Sends an email to a list of recipients.
Parameters - FILTERS: Description of the filters to be used to generate the email according to human-readable syntax. - ARRDEST: List of recipients - CC: List of recipients CC'd. - BCC: List of recipients BCC'd. Note: The recipient can be a CCH Tagetik username or an external email address in the form recipient@domain.
Value returned TRUE if the email was sent successfully, FALSE otherwise.