Microsoft
Software
Hardware
Network
Question : Error 1004 Unable to get the Show property of the Dialog class when using the command xlApp.Dialogs(189).Show(rs<wbr />!Email, "Subject")
With the help of an expert I found the following code that works well on my machine, and many others, in sending an e-mail with a password protected Excel spreadsheet attached. Unfortunately one of the machines using the code has come up with "Error 1004 Unable to get the Show property of the Dialog class". Can anyone help me figure out why this is happening. The machine has Outlook Express set up and running. The only way I could get the code to fall over on my machine is by setting OE up so that it doesn't work.
Set xlbook = xlApp.Workbooks.Open(sFile
Name)
xlbook.Password = "PassWord"
xlbook.Save
bResult = xlApp.Dialogs(189).Show(rs
!Email, "Subject")
Answer : Error 1004 Unable to get the Show property of the Dialog class when using the command xlApp.Dialogs(189).Show(rs<wbr />!Email, "Subject")
If you suspect some sort of corruption I would maybe do a system restore (if XP) to a point before the troubles. Otherwise, is a re-install of Access out of the question?
Random Solutions
HP 4730 Mfp configure
Multiple if greater than less than
How to delete a row based on the value of a cell? (macro)
Exchange 2007 Autodiscover & OAB & OOF not working anymore
System.OutOfMemoryExceptio<wbr />n when filling dataset with 655,000 rows - need workaround!!
need to fix warn
Microsoft Vista SystemPropertiesComputerNa<wbr />me at Logon?
Automatic delete of files in delete folder, on exit, in Outlook no longer works?
How do I compact a MSDE Database?
How to popup a waraning dialog box in asp.net?