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
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

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?
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,088
Messages
5,835,314
Members
430,351
Latest member
ddalton

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