I have this little function that achieves the creation of an email via VBA, It gets the data from another function that works together with an Excel file.
The pr
In that situation I generally define the constant globally in a module like this, that way you preserve the descriptive value of the variable.
Public Const olFormatHTML = 2