View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Ron de Bruin Ron de Bruin is offline
external usenet poster
 
Posts: 11,123
Default E-Mailing Code Error

It is very strange Sean.

I see this problem a few years now in the newsgroup.(never have the problem myself)
Maybe it is update that change the Win.ini file

Have you more then one Office version on your machine ?
Installed new programs lately ?

I really like to know why the ini file changed.

Excel 2003 and up not use the win.ini file anymore


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Sean" wrote in message ups.com...
On Mar 9, 3:31 pm, "Ron de Bruin" wrote:
Hi Sean

Check out thishttp://www.rondebruin.nl/mail/problems.htm

Maybe your Win.ini is changed ?

--

Regards Ron de Bruinhttp://www.rondebruin.nl/tips.htm



"Sean" wrote in ooglegroups.com...
I have the following piece of code received from Ron deBruin which all
of a sudden is hitting debug on this line


Set OutApp = CreateObject("Outlook.Application")


I'm not sure why this is now happening, when it has worked over the
last 9 months. I'm working Office XP and Win Xp. Outlook is my default
mail application. Debug message states "Run time error '-2147467259
(80004005)': Automation error, unspecified Error"


Any help would be appreciated


Thanks- Hide quoted text -


- Show quoted text -


Thanks Ron, I've just got it to work. On the WIN.ini file "MAPIX=1"
was in the file but not below "MAIL" - I assume that it must be placed
just below it, as per your web info, although I don't know why the
WINI.ini file would change in the first instance

Thanks again