E-mailing through Access

JMH022

Active Member
Joined
Mar 7, 2002
Messages
320
I have the following code which fires upon pressing a Command Button:

Sub SendRPT
DoCmd.SendObject acReport, "rpt_RPT", _
"MicrosoftExcel(*.xls)", eRPT, "", "", Date & _
" Report 1 ", "Attached is the report you requested.", False, ""
End Sub

Works fine on my machine, but when another user presses the same button, they get the following error message:

"The format in which you are attempting to output the current object is not available."

I am still running Excel 2000, while the other user is running Excel 2002. Could that have something to do with it and what do I need to do to fix this (aside from upgradiing)?

Any help would be welcome.
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

Forum statistics

Threads
1,221,788
Messages
6,161,963
Members
451,734
Latest member
Adapt375

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top