Ga naar inhoud

Weet nu echt niemand dit?


anoniem

Aanbevolen berichten

Ik heb in VBA een userform met daarop een commandbutton. Daarin heb ik de code verwerkt ActiveDocument.Sendmail Als ik nu op de button klik wordt outlook geopend, een nieuw emailbericht gemaakt, en het betreffende document wordt als attachment ingevoegd. Dit is ook allemaal de bedoeling. Alleen het veld; "aan" is leeg, en je moet daar dus zelf een emailadres invullen. Wie weet hoe ik daar een standaard email adres kan invullen? In de helpfunctie is daar niest iover terug te vinden. Ik gebruik overigens nog steeds office97!!! Groetjes; Theo
Link naar reactie
Ik heb een nieuwe offcie versie dan 97 en de help geeft over de sendmail methode de volgende tekst: [b:eef05d99f7]Sends the workbook by using the installed mail system. expression.SendMail(Recipients, Subject, ReturnReceipt) expression Required. An expression that returns a Workbook object. Recipients Required Variant. Specifies the name of the recipient as text, or as an array of text strings if there are multiple recipients. At least one recipient must be specified, and all recipients are added as To recipients. Subject Optional Variant. Specifies the subject of the message. If this argument is omitted, the document name is used. ReturnReceipt Optional Variant. True to request a return receipt. False to not request a return receipt. The default value is False. Example This example sends the active workbook to a single recipient. ActiveWorkbook.SendMail recipients:="Jean Selva"[/b:eef05d99f7] Misschien werkt dit ook voor 97.
Link naar reactie
  • 8 jaren later...

Om een reactie te plaatsen, moet je eerst inloggen

Gast
Reageer op dit topic

×   Geplakt als verrijkte tekst.   Herstel opmaak

  Er zijn maximaal 75 emoji toegestaan.

×   Je link werd automatisch ingevoegd.   Tonen als normale link

×   Je vorige inhoud werd hersteld.   Leeg de tekstverwerker

×   Je kunt afbeeldingen niet direct plakken. Upload of voeg afbeeldingen vanaf een URL in

  • Populaire leden

    Er is nog niemand die deze week reputatie heeft ontvangen.

  • Leden

    Geen leden om te tonen

×
×
  • Nieuwe aanmaken...