Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / August 2005

Tip: Looking for answers? Try searching our database.

problems with code in thisOutlookSession (error 438)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Heike Pertzel - 27 Jul 2005 08:59 GMT
Hallo!

In Outlook 2002 I've got following code in ThisOutlookSession:

Sub RufeBriefSchreibenAuf()
   AufrufAusWord = True
   Call BriefSchreiben
End Sub

In Word 2002 I wrote

Sub Test()
Dim oOutAppl As Outlook.Application

   Set oOutAppl = GetObject(, "Outlook.Application")
   oOutAppl.RufeBriefSchreibenAuf
End Sub

Error 438 apears. What's wrong?

Thanks and regards
Heike Pertzel / DATA 5 GmbH
moi - 27 Jul 2005 10:26 GMT
Hallo,

   Dim olApp, olNs
   Set olApp = CreateObject("Outlook.Application")
   Set olNs = olApp.GetNameSpace("MAPI")
   olNs.Logon

   u.s.w...

> Hallo!
>
[quoted text clipped - 18 lines]
> Thanks and regards
> Heike Pertzel / DATA 5 GmbH
Heike Pertzel - 27 Jul 2005 11:24 GMT
Thanks!
Heike
> Hallo,
>
[quoted text clipped - 27 lines]
>> Thanks and regards
>> Heike Pertzel / DATA 5 GmbH
Heike Pertzel - 01 Aug 2005 09:06 GMT
Hallo,

I've tried your suggestion, but the error still appears. Do you know why?

Heike Pertzel / DATA 5 GmbH

> Hallo,
>
[quoted text clipped - 27 lines]
>> Thanks and regards
>> Heike Pertzel / DATA 5 GmbH
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.