Bekijk de onderstaande video om te zien hoe je onze site als een web app op je startscherm installeert.
Opmerking: Deze functie is mogelijk niet beschikbaar in sommige browsers.
Privacywetgeving
Het is bij Helpmij.nl niet toegestaan om persoonsgegevens in een voorbeeld te plaatsen. Alle voorbeelden die persoonsgegevens bevatten zullen zonder opgaaf van reden verwijderd worden. In de vraag zal specifiek vermeld moeten worden dat het om fictieve namen gaat.
Wordt het eind van de for-loop aangeduid met end if?
Sub M_snb()
sn = Blad1.Cells(1).CurrentRegion.Resize(, 10)
Set d_00 = CreateObject("scripting.dictionary")
For j = 2 To UBound(sn)
If sn(j, 7) <> "" Then d_00.Item(sn(j, 10)) = d_00.Item(sn(j, 10)) & vbLf & Join(Application.Index(sn, j), vbTab)
Next
With CreateObject("outlook.application")
For Each it In d_00.keys
With .createitem(0)
.To = it
.Subject = "reminder"
.body = d_00(it)
.send
End With
Next
End With
End Sub
Set rng = Sheets("Registratie").Range("A1:Y" & Cells(Rows.Count, 2).End(xlUp).Row)
With Ash.AutoFilter.Range
On Error Resume Next
Set rng = Ash.Range("A1:C50" & ",E1:F50" & ",J1:J50" & ",U1:U50").SpecialCells(xlCellTypeVisible)
With Ash.AutoFilter.Range
On Error Resume Next
Set rng = Ash.Range("A1:C" & lastrow & ",E1:F" & lastrow & ",J1:J" & lastrow & ",L1:M" & lastrow).SpecialCells(xlCellTypeVisible)
Sub M_snb()
sn = Blad1.Cells(1).CurrentRegion.Resize(, 10)
c00 = "<Table><tr><td>" & Join(Application.Index(sn, 1), "</td><td>") & "</td></tr>"
Set d_00 = CreateObject("scripting.dictionary")
For j = 2 To UBound(sn)
If sn(j, 7) <> "" Then d_00.Item(sn(j, 10)) = d_00.Item(sn(j, 10)) & "<tr><td>" & Join(Application.Index(sn, j), "</td><td>") & "</td></tr>"
Next
With CreateObject("outlook.application")
For Each it In d_00.keys
With .createitem(0)
.To = it
.Subject = "reminder"
.HTMLbody = c00 & d_00(it) & "</table>"
.send
End With
Next
End With
End Sub
Voor wie wel geïnteresseerd is in VBA:
We gebruiken essentiële cookies om deze site te laten werken, en optionele cookies om de ervaring te verbeteren.