Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 09:53

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



VBA Excel - Adressbuch

Discussion on VBA Excel - Adressbuch within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
ClashOfClans''s Avatar
 
elite*gold: 18
Join Date: Jun 2014
Posts: 403
Received Thanks: 28
Arrow VBA Excel - Adressbuch

Hallo,
poste nun meine Frage schon im 3. Forum.
Habe ein Problem. Und zwar möchte ich die Outlook Kontaktliste als Pop-up Fenster öffnen. Funktioniert zwar, aber nicht an dem PC bei mir zuhause (auf der Arbeit funktioniert es einwandfrei).

Hier der Code:
Quote:
Public Function outName()

Dim OutSitz As Object
Dim Adressbuch As Object


On Error Resume Next

Set OutSitz = CreateObject("MAPI.Session")

If Not OutSitz Is Nothing Then
OutSitz.Logon "", "", False, False
End If

Set Adressbuch = OutSitz.AddressBook()
outName = Adressbuch.Item(1).Name

If outName = "" Then
MsgBox "Es wurde kein Empfänger ausgewählt.", vbCritical, "Fehler"

End If

Set OutSitz = Nothing
Set Adressbuch = Nothing


End Function
Wie gesagt, auf der Arbeit funktioniert es einwandfrei aber zuhause läuft das Programm nicht. Es liegt an MAPI.Session, weiss aber nicht wie bzw. wodurch ich es ersetzen kann.


Mein Versuch wäre ja:
Quote:
Public Function outName()

Dim OutSitz As Outlook.Application
Dim Adressbuch As Object
Dim nsOut as NameSpace


Set OutSitz = New Outlook.Application
Set nsOut = OutSitz.GetNameSpace("MAPI").Logon , , ,False


... *
End Function
*Wie es weiter gehen würde weiß ich leider nicht


Danke für eure Hilfe!
ClashOfClans' is offline  
Reply

Tags
address book, adressbuch, excel, vba


Similar Threads Similar Threads
Excel
07/07/2014 - Technical Support - 4 Replies
Hallo Leute, ich habe eine Frage zu Excel: Ist es möglich, stündlich einen bestimmten Wert zu einer Summe automatisch addieren zu lassen? Falls ja, wie funktioniert das? mfg OL!VER
HTC One - Adressbuch
03/14/2014 - Smartphones - 3 Replies
Hey Leute hab nen Problem mit meinem HTC One, die hälfte meines Adressbuches fehlt plötzlich. Die Kontakte die fehlen werden mir allerdings bei WhatsApp immernoch angezeigt. Hat jemand das gleiche Problem und ne Lösung?
[HELP]excel on db
12/31/2010 - EO PServer Hosting - 6 Replies
anyone know to connect and edit database with microsoft excell 2010?
AI & MS Excel
03/02/2010 - AutoIt - 0 Replies
Nabend zusammen, hat sich evtl schonmal wer mit "_ExcelReadCell" beschäftigt? hab das jetzt grade zum ersten mal in Benutzung und stehe grade vor dem Prob dass Excel startet sobald der befehl ausgeführt wird. Eigentlich geht es ja z.b. bei "fileread" dass die Datei nicht geöffnet werden muss damit die Daten gelesen werden können. Geht das iwi auch mit Excelfiles ohne diese zu öffnen? THX schonmal
Adressbuch exportieren
05/20/2008 - Technical Support - 0 Replies
Hallo, hab mal ne frage zwar hab ich 2 handys ein samsung sgh-d600 und ein neues t-mobile mda handy mit touchscreen will das adressbuch von dem d600 auf das mda exportieren wie stell ich das am besten an? da is windows mobile drauf.. hab versucht über die export funktion von der samsung software das zu machen aber irgentwie kann der nur formate das der mda nictkann



All times are GMT +1. The time now is 09:53.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.