W
worksfire1
I am trying to figure out how to get the Access query that I am attaching to
an email to be formatted in the newer Excel 97-2003 version so that my
500+end users can open on their blackberries and PDAs. For some reason, it
won't send the attachment in the newer Excel version even though I specify
the format as acSpreadsheetTypeExcel97 in place of acFormatXLS. If I
manually intervene and open the attachment and "Save As" ..excel 97-2003,
then send it, they can open it. But I can't manually intervene except during
a simple test b/c this ends up being 500 separate emails to 500 separate
users with 500 separate sets of results in their respective query attached.
This is the code I am using:
DoCmd.SendObject acSendQuery,
"qry1stStalledReport-4-FinalResultsFilterforEmails",
acSpreadsheetTypeExcel97, rscriteria![login id], , , "Can you open this file
on yoru blackberry?", "This is a test.", -1
an email to be formatted in the newer Excel 97-2003 version so that my
500+end users can open on their blackberries and PDAs. For some reason, it
won't send the attachment in the newer Excel version even though I specify
the format as acSpreadsheetTypeExcel97 in place of acFormatXLS. If I
manually intervene and open the attachment and "Save As" ..excel 97-2003,
then send it, they can open it. But I can't manually intervene except during
a simple test b/c this ends up being 500 separate emails to 500 separate
users with 500 separate sets of results in their respective query attached.
This is the code I am using:
DoCmd.SendObject acSendQuery,
"qry1stStalledReport-4-FinalResultsFilterforEmails",
acSpreadsheetTypeExcel97, rscriteria![login id], , , "Can you open this file
on yoru blackberry?", "This is a test.", -1