If you know that the user will have an e-mail client that supports HTML (Outlook, Outlook Express, Netscape Mail, etc.) you can use HTML to format the table.
<TABLE>
<TR>
<TD>Customer</TD>
<TD>Part</TD>
<TD>DateStart</TD>
<TD>DateEnd</TD>
<TD>Discount</TD>
</TR>
</TABLE>
Hello,
I am trying to use a system variable to determine and set the path to an export file that my VBA code is creating. What variables can be used in VBA to set the path to the user's desktop, or the Windows directory, for example?
Obviously, "C:\Windows\Desktop" isn't going to...
Since you DSN is two words, have you tried to place quotes around the DSN name? For example:
tdf.Connect = "ODBC;Database = " & strdbname & ";DSN = '" & strdsnname & "';Integrated Securtiy = True"
Also, if you are using a DSN, you shouldn't need to include the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.