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

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
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.
 
Upvote 0
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?
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,552
Members
449,088
Latest member
davidcom

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