Runtime ERROR '1004': Show method of dialog class failed

steve_aero

New Member
Joined
Oct 31, 2002
Messages
4
I am new to excel. When I create a button and associate a macro, when envoked, brings up a outlook email with the current file attached. This works fine on my pc. But when I post it to my web server and access through browser, I get the above error. The macro is as following:
Sub FileSendTo()
'
' FileSendTo Macro

Application.Dialogs(xlDialogSendMail).Show

End Sub
 

Some videos you may like

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Haluk

Rules Violation
Joined
Oct 26, 2002
Messages
1,075
you will get the same error message when you run the code,

Application.Dialogs(xlDialogOverlayChartType).Show

while there isn't any chart on your worksheet.

Your problem is very similar to that.
 

steve_aero

New Member
Joined
Oct 31, 2002
Messages
4
I had a friend of mine access it through the browser and it worked fine for him, with out any problems. He is running win2000, IE 5.5 and Excel 2002.
I get the error and I am running NT, excel 2000.
Any thoughts?
 

Watch MrExcel Video

Forum statistics

Threads
1,122,551
Messages
5,596,797
Members
414,103
Latest member
imamalidadashzada

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
Top