Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am creating an Excel file and then saving it to the hard drive. After
it is saved, I send it with the following code: set objNewMail = CreateObject("CDO.Message") objNewmail.Subject = "My Subject" objNewMail.textBody = "Test of email" objNewMail.From = " objNewMail.To = " objNewMail.AddAttachment "C:\myFile.xls" objNewMail.Send This excel file has some basic formatting (Bold header row that is underlined, a date column). When the file arrives in my email, all of the formatting is gone. All the rows have the same font and the date column is 38702 rather than a actual date like 12/16/2005. If i open the file from the harddrive it is fine. If I create a message with Outlook and send the file as an attachment, it is fine. Can anyone help with this? Thanks, Rich |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
"Excel encountered an error and had to remove some formatting toavoid corrupting the workbook. Please re-check your formatting carefully." | Excel Discussion (Misc queries) | |||
Prevoiusly posted message: Unable to remove objects pasted into Excel from HTML grid | Excel Worksheet Functions | |||
Remove file Protection from an Excel workbook file from others | Excel Discussion (Misc queries) | |||
"Unable to read file" error message when opening a Excel file that contains a PivotTable report. | Charts and Charting in Excel | |||
Excel error - remove some formatting | Excel Discussion (Misc queries) |