Accueil > > > CARNET D'ADRESSE OUTLOOK VERS EXCEL (OFFICE 2003) EN VS 2005
CARNET D'ADRESSE OUTLOOK VERS EXCEL (OFFICE 2003) EN VS 2005
Information sur la source
Description
Cette application utilise les assemblys PIA Office 2003, Microsoft.Office.Interop.Outlook et Excel. Le formulaire affiche les adresses mails contenues dans Outlook(Nom,Adresse mail,téléphone Home) dans un DataGridView, ensuite vous pouvez les transférer vers un fichier Excel formaté sur le bureau. A la fermeture de l'application, les instances crées sont supprimées, sauf celle d'Outlook si elle était en cours d'utilisation.
Source
- Imports Outlook = Microsoft.Office.Interop.Outlook
- Imports Excel = Microsoft.Office.Interop.Excel
- Imports System.Windows.Forms
- Imports System.Drawing
-
- Public Class OutlookAdresses
- Private m_ExcelApp As Excel.Application
- Private m_OutlookApp As Outlook.Application
- Private m_MapiContact As Outlook.MAPIFolder
- Private processes() As Process
- Private procName As String = "Outlook"
- Private m_OutlookRun As Boolean
- Private m_OutlookId As Integer
- Private m_OutlookBefore(), m_OutlookAfter() As Process
- Private m_ExcelBefore(), m_ExcelAfter() As Process
- Private m_ExcelId As Integer
- Private m_WorkBook As Excel.Workbook
- Private m_WorkSheet As Excel.Worksheet
- Private m_NbTxt As Integer = 1
- Private m_rg As Excel.Range
-
- Private Sub ButLancer_Click(ByVal sender As System.Object, _
- ByVal e As System.EventArgs) Handles ButLancer.Click
- If m_OutlookApp Is Nothing Then
-
- Try
- 'si Outlook est en cours d'éxécution on utilise son instance
- Me.m_OutlookApp = System.Runtime.InteropServices.Marshal.GetActiveObject("Outloo.Application")
- Me.m_OutlookRun = True
- Catch ex As Exception
- 'création d'une instance Outlook et renvoi de son ID de process pour Kill()
- m_OutlookId = CreateInstanceOutlook()
- End Try
- '/ Récupération du répertoire contact de Outlook.
- Me.m_MapiContact = m_OutlookApp.GetNamespace("MAPI"). _
- GetDefaultFolder(Outlook.OlDefaultFolders.olFolderContacts)
- End If
- For Each Ci As Outlook.ContactItem In m_MapiContact.Items
- 'Dim ci As Outlook.ContactItem = DirectCast(Contact, Outlook.ContactItem)
- Dim dt As String() = {Ci.FullName, Ci.Email1Address, Ci.HomeTelephoneNumber}
- For i As Integer = 0 To dt.Length - 1
- If IsNothing(dt(i)).ToString Then dt(i) = "/"
- Next
- Me.DataGridView1.Rows.Add(dt)
- Next
- Me.ButExcel.Enabled = True
- End Sub
-
- Private Sub OutlookAdresses_FormClosed(ByVal sender As Object, _
- ByVal e As System.Windows.Forms.FormClosedEventArgs) Handles Me.FormClosed
- '/ si pas d'instances ouvertes, on quitte
- If (m_ExcelId = 0) And (m_OutlookId = 0) Then Exit Sub
- '/ si des instances Outlook ou Excel ont été crées,on les détruit
- If m_ExcelId Then 'm_ExcelId # 0 / 0=False
- m_ExcelApp = Nothing
- Process.GetProcessById(m_ExcelId).Kill()
- End If
- If m_OutlookId Then ' m_IdApp # 0 / 0=False
- '/ si Outlook était ouvert, on laisse l'application en fonctionnement
- '/ sinon on détruit l'instance
- If m_OutlookRun Then
- 'm_OutlookApp.Quit()
- m_MapiContact = Nothing
- m_OutlookApp = Nothing
- Else
- System.Runtime.InteropServices.Marshal.ReleaseComObject(m_MapiContact)
- System.Runtime.InteropServices.Marshal.ReleaseComObject(m_OutlookApp)
- Process.GetProcessById(m_OutlookId).Kill()
- Exit Sub
- End If
- End If
- End Sub
-
- Private Sub ButQuit_Click(ByVal sender As System.Object, _
- ByVal e As System.EventArgs) Handles ButQuit.Click
- Me.Close()
- End Sub
-
- Function CreateInstanceOutlook() As Integer
- 'Détection des instance éventuelles Outlook
- Me.m_OutlookBefore = Process.GetProcessesByName(procName)
- 'Instance oulook application
- Me.m_OutlookApp = New Outlook.Application
- 'Détection des Instances Outlook
- Me.m_OutlookAfter = Process.GetProcessesByName(procName)
- If m_OutlookBefore.Length = 0 Then
- CreateInstanceOutlook = m_OutlookAfter(0).Id
- Else
- For Each proc As Process In m_OutlookAfter
- For i As Integer = 0 To m_OutlookBefore.Length - 1
- If Not proc.Id = m_OutlookBefore(i).Id Then
- CreateInstanceOutlook = proc.Id
- End If
- Next
- Next
- End If
- End Function
- Function CreateInstanceExcel() As Integer
- Me.m_ExcelBefore = Process.GetProcessesByName("Excel")
- Me.m_ExcelApp = New Excel.Application
- Me.m_ExcelAfter = Process.GetProcessesByName("Excel")
- If m_ExcelBefore.Length = 0 Then
- CreateInstanceExcel = m_ExcelAfter(0).Id
- Else
- For Each proc As Process In Me.m_ExcelAfter
- For i As Integer = 0 To Me.m_ExcelBefore.Length - 1
- If Not proc.Id = Me.m_ExcelBefore(i).Id Then
- CreateInstanceExcel = proc.Id
- End If
- Next
- Next
- End If
-
- End Function
-
- Private Sub ButExcel_Click(ByVal sender As System.Object, _
- ByVal e As System.EventArgs) Handles ButExcel.Click
- '/ test si le fichier Excel a déjà été généré(reclic sur bouton "Vers Excel")
- If m_ExcelId Then
- m_ExcelApp = Nothing
- Process.GetProcessById(m_ExcelId).Kill()
- End If
- If m_ExcelApp Is Nothing Then
- '/creer une instance Excel et renvoi du Process.id
- m_ExcelId = CreateInstanceExcel()
- '/ si pas de fichier, ajout d'un WorkBook et enregistrement.
- Me.m_ExcelApp.DisplayAlerts = False
- Me.m_WorkBook = Me.m_ExcelApp.Workbooks.Add(Type.Missing)
- Me.m_WorkBook.SaveAs("C:\Documents and Settings\" & _
- Environment.UserName & "\Bureau\Adresses Mails.xls", _
- Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, _
- Excel.XlSaveAsAccessMode.xlNoChange, Type.Missing, Type.Missing, _
- Type.Missing, Type.Missing)
- End If
-
- InitFichierExcel()
- EcrireFichierExcel()
- MsgBox("Le fichier Excel a été placé sur le Bureau" & _
- vbCrLf & "Après lecture supprimer ce fichier")
- Me.m_ExcelApp.Visible = True
- Me.Visible = True
-
- End Sub
- Private Sub EcrireFichierExcel()
- Me.m_WorkSheet = Me.m_WorkBook.ActiveSheet
- With Me.m_WorkSheet
-
- For i As Integer = 0 To Me.DataGridView1.RowCount - 1
- .Cells(2 + i, 1).value = Me.DataGridView1.Rows(i).Cells(0).Value.ToString
- .Cells(2 + i, 2).value = Me.DataGridView1.Rows(i).Cells(1).Value.ToString
- .Cells(2 + i, 3).value = Me.DataGridView1.Rows(i).Cells(2).Value.ToString
- Next
- End With
- '/ Suppression du message Excel si le fichier existe déjà /
- Me.m_ExcelApp.DisplayAlerts = False
- '/ on enregistre le fichier sur le bureau /
- Me.m_WorkBook.SaveAs("C:\Documents and Settings\" & _
- Environment.UserName & "\Bureau\Adresses Mails.xls", _
- Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, _
- Excel.XlSaveAsAccessMode.xlNoChange, Type.Missing, Type.Missing, _
- Type.Missing, Type.Missing)
- End Sub
-
- #Region "Mise en forme fichier Excel barre de titre et couleur cellules"
- Sub InitFichierExcel()
- Dim rg As String = "A1:C1"
- Me.m_rg = Me.m_WorkBook.ActiveSheet.Range(rg)
- '/ Mise en forme de la ligne de titres
- Dim bord As Excel.XlBordersIndex() = {Excel.XlBordersIndex.xlEdgeBottom, _
- Excel.XlBordersIndex.xlEdgeLeft, Excel.XlBordersIndex.xlEdgeRight, _
- Excel.XlBordersIndex.xlEdgeTop, Excel.XlBordersIndex.xlInsideVertical}
- With m_rg
- For i As Integer = 0 To bord.Length - 1
- With .Borders(bord(i))
- .LineStyle = Excel.XlLineStyle.xlContinuous
- .Weight = Excel.XlBorderWeight.xlThick
- .ColorIndex = 54
- End With
- Next
- .Interior.ColorIndex = 15
- .VerticalAlignment = Excel.XlVAlign.xlVAlignCenter
- .HorizontalAlignment = Excel.XlHAlign.xlHAlignCenter
- .Font.Size = 14
- .Font.ColorIndex = 2
- End With
- Me.m_WorkBook.ActiveSheet.Range("A1").Value = "Nom"
- Me.m_WorkBook.ActiveSheet.columns("A:A").columnwidth = 30
- Me.m_WorkBook.ActiveSheet.Range("B1").Value = "Adresse eMail"
- Me.m_WorkBook.ActiveSheet.columns("B:B").columnwidth = 40
- Me.m_WorkBook.ActiveSheet.Range("C1").Value = "Téléphone"
- Me.m_WorkBook.ActiveSheet.columns("C:C").columnwidth = 20
- '/ Fin de Mise en forme de la ligne de titres
- rg = "A2:C" & Me.DataGridView1.RowCount + 1
- Me.m_rg = Me.m_WorkBook.ActiveSheet.Range(rg)
- For Each c As Object In Me.m_rg.Cells
- For i As Integer = 0 To 2
- With c.borders(bord(i))
- .LineStyle = Excel.XlLineStyle.xlContinuous
- .Weight = Excel.XlBorderWeight.xlThin
- .ColorIndex = 54
- End With
- Next
- c.font.size = 12
- Next
- '/ fond de cellule pour chaque colonne
- Dim nbLig As Integer = Me.DataGridView1.RowCount - 1
- For i As Integer = 0 To nbLig
- With Me.m_rg
- .Cells(1 + i, 1).interior.colorindex = 36
- .Cells(1 + i, 2).interior.colorindex = 35
- .Cells(1 + i, 3).interior.colorindex = 40
- End With
- Next
- End Sub
- #End Region
-
- #Region "cette procédure était prévue pour afficher le Nom et l'Adresse eMail"
- '/ dans des TextBox creés dynamiquement."
- Private Sub Buttxt_Click(ByVal sender As System.Object, _
- ByVal e As System.EventArgs)
- Dim m_decalV As Integer = 30
- Dim Txtnom As New TextBox
- Txtnom.Name = "TextBoxNom" & CType(m_NbTxt, String)
- Txtnom.Location = New Point(50, 50 + m_decalV * m_NbTxt)
- Txtnom.Size = New Size(140, 20)
- Me.Controls.Add(Txtnom)
- Dim TxtMail As New TextBox
- TxtMail.Name = "TextBoxMail" & CType(m_NbTxt, String)
- TxtMail.Location = New Point(200, 50 + m_decalV * m_NbTxt)
- TxtMail.Size = New Size(250, 20)
- Me.Controls.Add(TxtMail)
- m_NbTxt += 1
- Dim T As String = ""
- For Each c As Control In Me.Controls
- If TypeOf c Is TextBox Then
- T += c.Name & vbCrLf
- End If
- Next
- MsgBox(T)
- End Sub
- #End Region
- End Class
Imports Outlook = Microsoft.Office.Interop.Outlook
Imports Excel = Microsoft.Office.Interop.Excel
Imports System.Windows.Forms
Imports System.Drawing
Public Class OutlookAdresses
Private m_ExcelApp As Excel.Application
Private m_OutlookApp As Outlook.Application
Private m_MapiContact As Outlook.MAPIFolder
Private processes() As Process
Private procName As String = "Outlook"
Private m_OutlookRun As Boolean
Private m_OutlookId As Integer
Private m_OutlookBefore(), m_OutlookAfter() As Process
Private m_ExcelBefore(), m_ExcelAfter() As Process
Private m_ExcelId As Integer
Private m_WorkBook As Excel.Workbook
Private m_WorkSheet As Excel.Worksheet
Private m_NbTxt As Integer = 1
Private m_rg As Excel.Range
Private Sub ButLancer_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles ButLancer.Click
If m_OutlookApp Is Nothing Then
Try
'si Outlook est en cours d'éxécution on utilise son instance
Me.m_OutlookApp = System.Runtime.InteropServices.Marshal.GetActiveObject("Outloo.Application")
Me.m_OutlookRun = True
Catch ex As Exception
'création d'une instance Outlook et renvoi de son ID de process pour Kill()
m_OutlookId = CreateInstanceOutlook()
End Try
'/ Récupération du répertoire contact de Outlook.
Me.m_MapiContact = m_OutlookApp.GetNamespace("MAPI"). _
GetDefaultFolder(Outlook.OlDefaultFolders.olFolderContacts)
End If
For Each Ci As Outlook.ContactItem In m_MapiContact.Items
'Dim ci As Outlook.ContactItem = DirectCast(Contact, Outlook.ContactItem)
Dim dt As String() = {Ci.FullName, Ci.Email1Address, Ci.HomeTelephoneNumber}
For i As Integer = 0 To dt.Length - 1
If IsNothing(dt(i)).ToString Then dt(i) = "/"
Next
Me.DataGridView1.Rows.Add(dt)
Next
Me.ButExcel.Enabled = True
End Sub
Private Sub OutlookAdresses_FormClosed(ByVal sender As Object, _
ByVal e As System.Windows.Forms.FormClosedEventArgs) Handles Me.FormClosed
'/ si pas d'instances ouvertes, on quitte
If (m_ExcelId = 0) And (m_OutlookId = 0) Then Exit Sub
'/ si des instances Outlook ou Excel ont été crées,on les détruit
If m_ExcelId Then 'm_ExcelId # 0 / 0=False
m_ExcelApp = Nothing
Process.GetProcessById(m_ExcelId).Kill()
End If
If m_OutlookId Then ' m_IdApp # 0 / 0=False
'/ si Outlook était ouvert, on laisse l'application en fonctionnement
'/ sinon on détruit l'instance
If m_OutlookRun Then
'm_OutlookApp.Quit()
m_MapiContact = Nothing
m_OutlookApp = Nothing
Else
System.Runtime.InteropServices.Marshal.ReleaseComObject(m_MapiContact)
System.Runtime.InteropServices.Marshal.ReleaseComObject(m_OutlookApp)
Process.GetProcessById(m_OutlookId).Kill()
Exit Sub
End If
End If
End Sub
Private Sub ButQuit_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles ButQuit.Click
Me.Close()
End Sub
Function CreateInstanceOutlook() As Integer
'Détection des instance éventuelles Outlook
Me.m_OutlookBefore = Process.GetProcessesByName(procName)
'Instance oulook application
Me.m_OutlookApp = New Outlook.Application
'Détection des Instances Outlook
Me.m_OutlookAfter = Process.GetProcessesByName(procName)
If m_OutlookBefore.Length = 0 Then
CreateInstanceOutlook = m_OutlookAfter(0).Id
Else
For Each proc As Process In m_OutlookAfter
For i As Integer = 0 To m_OutlookBefore.Length - 1
If Not proc.Id = m_OutlookBefore(i).Id Then
CreateInstanceOutlook = proc.Id
End If
Next
Next
End If
End Function
Function CreateInstanceExcel() As Integer
Me.m_ExcelBefore = Process.GetProcessesByName("Excel")
Me.m_ExcelApp = New Excel.Application
Me.m_ExcelAfter = Process.GetProcessesByName("Excel")
If m_ExcelBefore.Length = 0 Then
CreateInstanceExcel = m_ExcelAfter(0).Id
Else
For Each proc As Process In Me.m_ExcelAfter
For i As Integer = 0 To Me.m_ExcelBefore.Length - 1
If Not proc.Id = Me.m_ExcelBefore(i).Id Then
CreateInstanceExcel = proc.Id
End If
Next
Next
End If
End Function
Private Sub ButExcel_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles ButExcel.Click
'/ test si le fichier Excel a déjà été généré(reclic sur bouton "Vers Excel")
If m_ExcelId Then
m_ExcelApp = Nothing
Process.GetProcessById(m_ExcelId).Kill()
End If
If m_ExcelApp Is Nothing Then
'/creer une instance Excel et renvoi du Process.id
m_ExcelId = CreateInstanceExcel()
'/ si pas de fichier, ajout d'un WorkBook et enregistrement.
Me.m_ExcelApp.DisplayAlerts = False
Me.m_WorkBook = Me.m_ExcelApp.Workbooks.Add(Type.Missing)
Me.m_WorkBook.SaveAs("C:\Documents and Settings\" & _
Environment.UserName & "\Bureau\Adresses Mails.xls", _
Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, _
Excel.XlSaveAsAccessMode.xlNoChange, Type.Missing, Type.Missing, _
Type.Missing, Type.Missing)
End If
InitFichierExcel()
EcrireFichierExcel()
MsgBox("Le fichier Excel a été placé sur le Bureau" & _
vbCrLf & "Après lecture supprimer ce fichier")
Me.m_ExcelApp.Visible = True
Me.Visible = True
End Sub
Private Sub EcrireFichierExcel()
Me.m_WorkSheet = Me.m_WorkBook.ActiveSheet
With Me.m_WorkSheet
For i As Integer = 0 To Me.DataGridView1.RowCount - 1
.Cells(2 + i, 1).value = Me.DataGridView1.Rows(i).Cells(0).Value.ToString
.Cells(2 + i, 2).value = Me.DataGridView1.Rows(i).Cells(1).Value.ToString
.Cells(2 + i, 3).value = Me.DataGridView1.Rows(i).Cells(2).Value.ToString
Next
End With
'/ Suppression du message Excel si le fichier existe déjà /
Me.m_ExcelApp.DisplayAlerts = False
'/ on enregistre le fichier sur le bureau /
Me.m_WorkBook.SaveAs("C:\Documents and Settings\" & _
Environment.UserName & "\Bureau\Adresses Mails.xls", _
Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, _
Excel.XlSaveAsAccessMode.xlNoChange, Type.Missing, Type.Missing, _
Type.Missing, Type.Missing)
End Sub
#Region "Mise en forme fichier Excel barre de titre et couleur cellules"
Sub InitFichierExcel()
Dim rg As String = "A1:C1"
Me.m_rg = Me.m_WorkBook.ActiveSheet.Range(rg)
'/ Mise en forme de la ligne de titres
Dim bord As Excel.XlBordersIndex() = {Excel.XlBordersIndex.xlEdgeBottom, _
Excel.XlBordersIndex.xlEdgeLeft, Excel.XlBordersIndex.xlEdgeRight, _
Excel.XlBordersIndex.xlEdgeTop, Excel.XlBordersIndex.xlInsideVertical}
With m_rg
For i As Integer = 0 To bord.Length - 1
With .Borders(bord(i))
.LineStyle = Excel.XlLineStyle.xlContinuous
.Weight = Excel.XlBorderWeight.xlThick
.ColorIndex = 54
End With
Next
.Interior.ColorIndex = 15
.VerticalAlignment = Excel.XlVAlign.xlVAlignCenter
.HorizontalAlignment = Excel.XlHAlign.xlHAlignCenter
.Font.Size = 14
.Font.ColorIndex = 2
End With
Me.m_WorkBook.ActiveSheet.Range("A1").Value = "Nom"
Me.m_WorkBook.ActiveSheet.columns("A:A").columnwidth = 30
Me.m_WorkBook.ActiveSheet.Range("B1").Value = "Adresse eMail"
Me.m_WorkBook.ActiveSheet.columns("B:B").columnwidth = 40
Me.m_WorkBook.ActiveSheet.Range("C1").Value = "Téléphone"
Me.m_WorkBook.ActiveSheet.columns("C:C").columnwidth = 20
'/ Fin de Mise en forme de la ligne de titres
rg = "A2:C" & Me.DataGridView1.RowCount + 1
Me.m_rg = Me.m_WorkBook.ActiveSheet.Range(rg)
For Each c As Object In Me.m_rg.Cells
For i As Integer = 0 To 2
With c.borders(bord(i))
.LineStyle = Excel.XlLineStyle.xlContinuous
.Weight = Excel.XlBorderWeight.xlThin
.ColorIndex = 54
End With
Next
c.font.size = 12
Next
'/ fond de cellule pour chaque colonne
Dim nbLig As Integer = Me.DataGridView1.RowCount - 1
For i As Integer = 0 To nbLig
With Me.m_rg
.Cells(1 + i, 1).interior.colorindex = 36
.Cells(1 + i, 2).interior.colorindex = 35
.Cells(1 + i, 3).interior.colorindex = 40
End With
Next
End Sub
#End Region
#Region "cette procédure était prévue pour afficher le Nom et l'Adresse eMail"
'/ dans des TextBox creés dynamiquement."
Private Sub Buttxt_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs)
Dim m_decalV As Integer = 30
Dim Txtnom As New TextBox
Txtnom.Name = "TextBoxNom" & CType(m_NbTxt, String)
Txtnom.Location = New Point(50, 50 + m_decalV * m_NbTxt)
Txtnom.Size = New Size(140, 20)
Me.Controls.Add(Txtnom)
Dim TxtMail As New TextBox
TxtMail.Name = "TextBoxMail" & CType(m_NbTxt, String)
TxtMail.Location = New Point(200, 50 + m_decalV * m_NbTxt)
TxtMail.Size = New Size(250, 20)
Me.Controls.Add(TxtMail)
m_NbTxt += 1
Dim T As String = ""
For Each c As Control In Me.Controls
If TypeOf c Is TextBox Then
T += c.Name & vbCrLf
End If
Next
MsgBox(T)
End Sub
#End Region
End Class
Conclusion
La collection Outlook.contact.Item permet d'étendre les fonctionnalités en ajoutant les différentes propriétés (Adresse domicile, téléphone bureau, téléphone mobile etc...). Fonctionnement correct aves Office 2003, je n'ai pas la possibilité de tester aves d'autres versions.
Lien vers la mise en oeuvre des assemblys Office : http://msdn2.microsoft.com/fr-fr/library/kh3965h w(VS.80).aspx
Sources de la même categorie
Commentaires et avis
Discussions en rapport avec ce code source dans le forum
Outrepasser le message d'outlook quand j'envoi un fichier excel par email [ par denise224224 ]
Bonjour, J'envoi un fichier excel par outlook 2003 de cette facon : ActiveWorkbook.SendMail Recipients:=Array("mon adresse@hotmail.com"), Subject:=
d'une macro outlook vers une macro excel [ par Nicholas1 ]
Bonjour, j'ai deux macro, une dans outlook 2003 et une dans excel 2003, la première après avoir enregistré des pièces jointe dans les dossier, ouvre e
Lancer une procedure Outlook depuis VBA Excel [ par sergiani ]
Bonjour à tous, J'ai beau chercher je ne trouve pas : Comment faire appel à une procédure outlook depuis le VBA excel? Par exemple la procédure ci-
Create object Excel 2003 et Outlook 2010 [ par marinolive ]
Bonjour, J'ai acheté un PC avec windows 7 et le pack office 2010. Or je souhaite continuer à travailler en Excel 2003 que j'ai donc installé. J'ai une
Envoyer mail (sous Outlook) lorsque condition remplie dans fichier Excel [ par ozone083 ]
[color=blue]Bonjour, J'avais, il y'a quelques temps, réussi à écrire une macro pour envoyer via Lotus Notes un mail lorsqu'une condition était rempli
Ajouter un commentaire lors de l'envoi d'un fichier excel via outlook [ par Juju1971 ]
Bonjour, J'ai créé un fichier excel (2010) dans lequel un bouton permet d'envoyer, celui-ci, à plusieurs destinataires via outlook (2010). Ma macro
[Catégorie modifiée .Net -> VBA] Creer un fichier excel à partir de données envoyées par mail [ par ozone083 ]
Bonjour En général, on souhaite faire le contraire : envoyer des données sur Excel par Outlook. Je reçois des mails en grande quantité, toujours le
Help ! mail via Outlook, comment changer couleur ????? [ par corsica2011 ]
Bonjour, j'arrive bien a envoyé des E-mail d'Excel via Outlook, mon texte s'affiche correctement. Ce texte et generé par Excel avec du texte brut mel
Excel appelle Outlook : perdu ! [ par dlbminot ]
Bonjour A partir d'un programme VBA Excel, je cherche à envoyer un mail via Outlook. Ce que j'ai écrit marche jusqu'au moment de l'envoi par .send où
envoyer une feuille excel avec office outlook 2003 [ par mokuht ]
Bonjour je cherche un code pour envoyer par mail une feuille excel avec un destinataire et copie avec outlook 2003 mais pas en fichier joint juste la
|
Derniers Blogs
ASYNC/AWAIT: COMPRENDRE COMMENT CA MARCHEASYNC/AWAIT: COMPRENDRE COMMENT CA MARCHE par fathi
Tout le monde est unanime pour dire que la programmation multi-thread et asynchrone est en train de devenir un sujet incontournable. Beaucoup de choses sont arrivées avec le framework 4 pour le code parallèle (TPL, PLinq,.) et bientôt, on va avoir l...
Cliquez pour lire la suite de l'article par fathi PAS D'INTELLITRACE SUR MON SITE WEB DANS IIS !PAS D'INTELLITRACE SUR MON SITE WEB DANS IIS ! par Etienne Margraff
J'ai récemment eu un problème pour obtenir l'intelliTrace sur un site web dans IIS. Il n'y avait pas de message d'erreur, rien dans le journal d'évènement Windows, et après 3 appels à une voyante, 2 visites chez un marabou, j'ai failli me résign...
Cliquez pour lire la suite de l'article par Etienne Margraff OFFICE 365 - SHAREPOINT ONLINE, QUELQUES LIMITATIONSOFFICE 365 - SHAREPOINT ONLINE, QUELQUES LIMITATIONS par junarnoalg
De nombreuses entreprises font le choix de SharePoint Online, service fourni au travers de l'offre de Microsoft Office 365. S'il est vrai que ce choix apporte un grand nombre d'avantages; rapidité de mise en œuvre, disponibilité, large couvertu...
Cliquez pour lire la suite de l'article par junarnoalg PRéSENTATION DES API REST DE WINDOWS AZURE : LISTER LES COMPTES DE STORAGEPRéSENTATION DES API REST DE WINDOWS AZURE : LISTER LES COMPTES DE STORAGE par richardc
http://www.c2idotnet.com/articles/presentation-des-api-rest-de-windows-azure-lister-les-comptes-de-storage
Désolé pour "toto", mais c2i existait avant blogs.developpeur.org et c'est mon site "officiel" ;-) ...
Cliquez pour lire la suite de l'article par richardc
Logiciels
DocTranslate (V3.1.0.0)DOCTRANSLATE (V3.1.0.0)DocTranslate est un traducteur de document Microsoft Word, PowerPoint et Excel. Il permet d'autom... Cliquez pour télécharger DocTranslate Tribler (2012)TRIBLER (2012)Tribler est un client pair à pair (P2P/Peer-to-Peer) open source avec la capacité de regarder des... Cliquez pour télécharger Tribler OneSwarm (2012)ONESWARM (2012)Le peer-to-peer qui protège votre vie privée, c'est OneSwarm.
Ce logiciel de peer-to-peer crypté... Cliquez pour télécharger OneSwarm PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO (V8.4)PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO (V8.4)PONAMEDIA TV DEVIENS HELLLOOO FLASH
LA TV SUR VOTRE ORDINATEUR.
Toute une plateforme Multi... Cliquez pour télécharger PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO Academy System (17.2.1.0)ACADEMY SYSTEM (17.2.1.0)Logiciel de gestion des établissements.
- élèves/étudiants (inscription, dossier, absence...)
-... Cliquez pour télécharger Academy System
|