muammercaylak78
Yeni Üye
- Katılım
- 12 Eki 2022
- Mesajlar
- 84
- Aldığı beğeni
- 10
- Excel V
- Office 2013 TR
Forum içeriğine ve tüm hizmetlerimize erişim sağlamak için foruma kayıt olmalı ya da giriş yapmalısınız. Foruma üye olmak tamamen ücretsizdir.
Sub mesaj_gonder()
Dim kime As String
Dim metin As String
For i = 1 To Me.ListView2.ListItems.Count
If ListView2.ListItems.Item(i).Checked = True Then
kime = Me.ListView2.ListItems(i)
metin = Me.ListView2.ListItems(i).SubItems(1)
ActiveWorkbook.FollowHyperlink Address:="https://web.whatsapp.com/"
Application.Wait (Now + TimeValue("00:00:10"))
Call SendKeys("{TAB}", True)
Call SendKeys("{TAB}", True)
Call SendKeys("{TAB}", True)
Call SendKeys("{TAB}", True)
Call SendKeys("{TAB}", True)
Application.Wait (Now + TimeValue("00:00:05"))
Call SendKeys(kime, True)
Application.Wait (Now +...
Sub mesaj_gonder()
Dim kime As String
Dim metin As String
For i = 1 To Me.ListView2.ListItems.Count
If ListView2.ListItems.Item(i).Checked = True Then
kime = Me.ListView2.ListItems(i)
metin = Me.ListView2.ListItems(i).SubItems(1)
ActiveWorkbook.FollowHyperlink Address:="https://web.whatsapp.com/"
Application.Wait (Now + TimeValue("00:00:10"))
Call SendKeys("{TAB}", True)
Call SendKeys("{TAB}", True)
Call SendKeys("{TAB}", True)
Call SendKeys("{TAB}", True)
Call SendKeys("{TAB}", True)
Application.Wait (Now + TimeValue("00:00:05"))
Call SendKeys(kime, True)
Application.Wait (Now + TimeValue("00:00:03"))
Call SendKeys("~", True)
Application.Wait (Now + TimeValue("00:00:05"))
Call SendKeys("^+V", True)
Application.Wait (Now + TimeValue("00:00:03"))
Call SendKeys("~", True)
Application.Wait (Now + TimeValue("00:00:05"))
Call SendKeys("^+w", True)
end if
Next i
End Sub
Sub mesaj_gonder()
Dim kime As String
Dim metin As String
For i = 1 To Me.ListView2.ListItems.Count
If ListView2.ListItems.Item(i).Checked = True Then
kime = Me.ListView2.ListItems(i)
metin = Me.ListView2.ListItems(i).SubItems(1)
ActiveWorkbook.FollowHyperlink Address:="WhatsApp Web"
Application.Wait (Now + TimeValue("00:00:10"))
Call SendKeys("{TAB}", True)
Call SendKeys("{TAB}", True)
Call SendKeys("{TAB}", True)
Call SendKeys("{TAB}", True)
Call SendKeys("{TAB}", True)
Application.Wait (Now + TimeValue("00:00:05"))
Call SendKeys(kime, True)
Application.Wait (Now + TimeValue("00:00:05"))
Call SendKeys("~", True)
Application.Wait (Now + TimeValue("00:00:05"))
Call SendKeys(metin, True)
Application.Wait (Now + TimeValue("00:00:03"))
Call SendKeys("~", True)
Application.Wait (Now + TimeValue("00:00:05"))
Call SendKeys("^+V", True)
Application.Wait (Now + TimeValue("00:00:05"))
Call SendKeys("~", True)
Application.Wait (Now + TimeValue("00:00:05"))
'Call SendKeys("^+w", True)
Application.SendKeys "{NUMLOCK}%s"
Application.CutCopyMode = False
End If
Next i
End Sub