Это видео недоступно.
Сожалеем об этом.

Send message on UNSAVED NUMBERS from Excel to Whatsapp | VBA

Поделиться
HTML-код
  • Опубликовано: 19 авг 2024

Комментарии • 89

  • @laiqmehdi8704
    @laiqmehdi8704 11 дней назад +1

    Well explained thnq soo much

    • @techalertr
      @techalertr  8 дней назад

      Most welcome 😊
      Please share the video on your social media & with your friends to help us.
      Hope you subscribed our channel to support us.

  • @Saregamakrishnagyan
    @Saregamakrishnagyan 18 дней назад +1

    Code proper working sir you are tooooo good

    • @techalertr
      @techalertr  15 дней назад

      It's my pleasure
      Please share the video on your social media & with your friends to help us.
      Hope you subscribed our channel to support us.

  • @RobinsonMakwana-wi3ul
    @RobinsonMakwana-wi3ul 3 месяца назад +1

    thank u sir ... salute to you... for all stuff you have shared...

    • @techalertr
      @techalertr  3 месяца назад

      So nice of you
      Please share the video on your social media & with your friends to help us.
      Hope you subscribed our channel to support us.

  • @shailendraarora
    @shailendraarora 5 месяцев назад +1

    😮 much needed

    • @techalertr
      @techalertr  5 месяцев назад

      Thank you so much 😀

  • @user-yk4or7un5n
    @user-yk4or7un5n 5 месяцев назад +1

    loved it

    • @techalertr
      @techalertr  5 месяцев назад

      Thank you so much 😀

  • @akhilprofit
    @akhilprofit 4 месяца назад +3

    Thank you for Whatsapp code. A error in code. if sending msg to unsaved number and its not on whatsapp or deleted at whatsapp. the code execute to next i.e type msg in search box and start mulfuntion. can you write code to check the number is on whatsapp, if not on whatsapp escape and go to next number. And remark on the number.

    • @D.E.DTravelAssistanceDocuments
      @D.E.DTravelAssistanceDocuments 4 месяца назад

      Please try this modified code.
      Option Explicit
      #If VBA7 Then
      Declare PtrSafe Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
      #Else
      Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
      #End If
      Sub wamsg()
      On Error GoTo ErrorHandler

      Dim PhoneNumb As String, MsgText As String
      Dim LastRow As Long
      Dim attach As String, link As String
      Dim i As Integer

      LastRow = Sheet1.Range("A" & Rows.Count).End(xlUp).Row

      For i = 2 To LastRow
      With Sheet1
      PhoneNumb = .Cells(i, 1).Value
      MsgText = .Cells(i, 2).Value
      attach = .Cells(i, 3).Value
      link = .Cells(i, 4).Value


      AppActivate "WhatsApp"
      Application.Wait (Now + TimeValue("00:00:03"))
      SendKeys "^n", True
      Application.Wait (Now + TimeValue("00:00:03"))
      SendKeys "^a", True ' Ctrl+A to select all
      Application.Wait (Now + TimeValue("00:00:03"))
      SendKeys PhoneNumb, True
      Application.Wait (Now + TimeValue("00:00:03"))
      SendKeys "{Tab}", True
      Application.Wait (Now + TimeValue("00:00:03"))
      SendKeys "{Enter}", True
      Application.Wait (Now + TimeValue("00:00:03"))
      SendKeys MsgText, True
      Application.Wait (Now + TimeValue("00:00:05"))
      SendKeys "+{Tab}", True
      Application.Wait (Now + TimeValue("00:00:03"))
      SendKeys "{Enter}", True

      If attach = "VIDEO" Or attach = "IMAGE" Or attach = "PDF" Then
      Application.Wait (Now + TimeValue("00:00:03"))
      SendKeys "{Enter}", True
      Application.Wait (Now + TimeValue("00:00:03"))
      SendKeys link, True
      Application.Wait (Now + TimeValue("00:00:03"))
      SendKeys "{Enter}", True
      Application.Wait (Now + TimeValue("00:00:03"))
      SendKeys "{Enter}", True
      End If
      End With

      ' Check if ESC key is pressed
      If CheckESCKeyPressed() Then
      Exit Sub ' Exit the sub if ESC key is pressed
      End If
      Next i
      ExitSub:
      Exit Sub ' Exit the sub normally
      ErrorHandler:
      MsgBox "An error occurred: " & Err.Description, vbExclamation
      Resume ExitSub
      End Sub
      Function CheckESCKeyPressed() As Boolean
      ' Function to check if the ESC key is pressed
      CheckESCKeyPressed = False
      If GetAsyncKeyState(vbKeyEscape) Then
      CheckESCKeyPressed = True
      End If
      End Function

  • @ptjawaharlalnehrugovthssne6590
    @ptjawaharlalnehrugovthssne6590 5 месяцев назад +1

    thankyou

    • @techalertr
      @techalertr  5 месяцев назад

      Thank you so much 😀

  • @InformationTechy
    @InformationTechy 5 месяцев назад +1

    fabulous

    • @techalertr
      @techalertr  5 месяцев назад

      Thank you so much 😀

  • @sukhiramdehere3187
    @sukhiramdehere3187 5 месяцев назад +1

    awesomeee

    • @techalertr
      @techalertr  4 месяца назад

      Yes i am working on that code.
      Please share the video on your social media & with your friends to help us.
      Hope you subscribed our channel to support us.

  • @aratipandey5679
    @aratipandey5679 4 месяца назад +1

    great

    • @techalertr
      @techalertr  2 месяца назад

      Thank you
      Please share the video on your social media & with your friends to help us.
      Hope you subscribed our channel to support us.

  • @RTSHAAAA6
    @RTSHAAAA6 4 месяца назад +1

    Sir, If the mobile number is not registered on WhatsApp, all processes collapse. Please provide clarity on this issue.

  • @patelck
    @patelck 5 месяцев назад +2

    While sending the message, if the mobile number does not have WhatsApp account, then the program crashes.
    Please rectify the same.
    Also request you to add support for sending videos/images/documents/pdfs etc. to unsaved numbers
    Thanks in advance

    • @D.E.DTravelAssistanceDocuments
      @D.E.DTravelAssistanceDocuments 4 месяца назад

      Please try this modified code
      Option Explicit
      #If VBA7 Then
      Declare PtrSafe Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
      #Else
      Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
      #End If
      Sub wamsg()
      On Error GoTo ErrorHandler

      Dim PhoneNumb As String, MsgText As String
      Dim LastRow As Long
      Dim attach As String, link As String
      Dim i As Integer

      LastRow = Sheet1.Range("A" & Rows.Count).End(xlUp).Row

      For i = 2 To LastRow
      With Sheet1
      PhoneNumb = .Cells(i, 1).Value
      MsgText = .Cells(i, 2).Value
      attach = .Cells(i, 3).Value
      link = .Cells(i, 4).Value


      AppActivate "WhatsApp"
      Application.Wait (Now + TimeValue("00:00:03"))
      SendKeys "^n", True
      Application.Wait (Now + TimeValue("00:00:03"))
      SendKeys "^a", True ' Ctrl+A to select all
      Application.Wait (Now + TimeValue("00:00:03"))
      SendKeys PhoneNumb, True
      Application.Wait (Now + TimeValue("00:00:03"))
      SendKeys "{Tab}", True
      Application.Wait (Now + TimeValue("00:00:03"))
      SendKeys "{Enter}", True
      Application.Wait (Now + TimeValue("00:00:03"))
      SendKeys MsgText, True
      Application.Wait (Now + TimeValue("00:00:05"))
      SendKeys "+{Tab}", True
      Application.Wait (Now + TimeValue("00:00:03"))
      SendKeys "{Enter}", True

      If attach = "VIDEO" Or attach = "IMAGE" Or attach = "PDF" Then
      Application.Wait (Now + TimeValue("00:00:03"))
      SendKeys "{Enter}", True
      Application.Wait (Now + TimeValue("00:00:03"))
      SendKeys link, True
      Application.Wait (Now + TimeValue("00:00:03"))
      SendKeys "{Enter}", True
      Application.Wait (Now + TimeValue("00:00:03"))
      SendKeys "{Enter}", True
      End If
      End With

      ' Check if ESC key is pressed
      If CheckESCKeyPressed() Then
      Exit Sub ' Exit the sub if ESC key is pressed
      End If
      Next i
      ExitSub:
      Exit Sub ' Exit the sub normally
      ErrorHandler:
      MsgBox "An error occurred: " & Err.Description, vbExclamation
      Resume ExitSub
      End Sub
      Function CheckESCKeyPressed() As Boolean
      ' Function to check if the ESC key is pressed
      CheckESCKeyPressed = False
      If GetAsyncKeyState(vbKeyEscape) Then
      CheckESCKeyPressed = True
      End If
      End Function

  • @DadysUpdate
    @DadysUpdate 4 месяца назад +1

    Bro, i want to add 30 second's before sending to next number please thank you for your efforts ❤❤❤

    • @techalertr
      @techalertr  2 месяца назад

      yes in the coding just add it brother
      Please share the video on your social media & with your friends to help us.
      Hope you subscribed our channel to support us.

  • @ksshino
    @ksshino 2 месяца назад +1

    how can we skip the step if one number is not having whatsapp on it?

  • @newmovies179
    @newmovies179 2 месяца назад +1

    Brother good information but please share how Can we use this process directly though WhatsApp web

    • @techalertr
      @techalertr  2 месяца назад

      Please go through this video once : ruclips.net/video/_VfSrTMiz2M/видео.html
      Plz share the video on your social media & with your friends to help us.
      Hope you subscribed our channel to support us.

  • @bhojpuri_song385
    @bhojpuri_song385 5 месяцев назад +1

    🎉🎉

    • @techalertr
      @techalertr  5 месяцев назад

      Thanks for the visit
      Please share the video on your social media & with your friends to help us.
      Hope you subscribed our channel to support us.

  • @Drone-pk
    @Drone-pk 5 месяцев назад +1

    Thank you soo much for a quick responce and a video made on it. 😊
    One thing more please if the number is blocked by me earlier and if the number does not exist (lets suppose i have a list of numbers as some may not be correct or unavaliable) will it skip that number or not?

    • @techalertr
      @techalertr  5 месяцев назад

      No, it won't work like that. it will send messages to all the numbers in the excel file. if the no.is wrong, then code might not work properly.
      Please share the video on your social media & with your friends to help us.
      Hope you subscribed our channel to support us.

    • @Drone-pk
      @Drone-pk 5 месяцев назад

      @@techalertr ok thank you for the guidance but wating for your new working in which if a number is not found or is invalid it should skip
      all the old vba's are now not working

    • @Drone-pk
      @Drone-pk 5 месяцев назад

      @@techalertr and can you make it possible that if there no image/pdf file to attach it skips that also

    • @mohanadal-far748
      @mohanadal-far748 2 месяца назад

      Thank you first, and can you make a new video to solve such issues, ​@@techalertr

  • @ayaanus-mom
    @ayaanus-mom 5 месяцев назад +1

    Please make a video about sending pdf files to unsaved numbers

    • @techalertr
      @techalertr  5 месяцев назад +1

      Yes I have created a video on that topic and I am editing that video. Will publish in 6 to 7 days. Stat tuned with us.
      Hope you liked the video and subscribed our channel to support us.

    • @ayaanus-mom
      @ayaanus-mom 5 месяцев назад

      @@techalertr thank you sir

    • @sachinkale4544
      @sachinkale4544 5 месяцев назад

      Same bhau

  • @starshine7559
    @starshine7559 2 месяца назад +1

    Brother not working with not registered numbers on whatsapp. if you are completed the code please share

    • @techalertr
      @techalertr  2 месяца назад

      Please go through this video once : ruclips.net/video/COg2MFQjUbA/видео.html
      Plz share the video on your social media & with your friends to help us.
      Hope you subscribed our channel to support us.

  • @EraPrimePulse
    @EraPrimePulse Месяц назад +1

    Mera code run ho raha but invalid show WhatsApp ..why .give me solution

    • @techalertr
      @techalertr  22 дня назад

      install whatsapp desktop version.
      ;login and start the whatsapp
      the run the code.
      for more details, contact us on instagram.
      Please share the video on your social media & with your friends to help us.
      Hope you subscribed our channel to support us.

  • @sachingrpl
    @sachingrpl 3 месяца назад +1

    Hi... nice one but this code is not working with unsaved numbers. tried a lot but not working with unsaved numbers

    • @techalertr
      @techalertr  3 месяца назад

      Yes brother, it was working but due to recent whatsapp update, now its not working for unsaved numbers. I am working on the new code. Hope will publish a new video soon.
      Please share the video on your social media & with your friends to help us.
      Hope you subscribed our channel to support us.

  • @RAJESH-qb6gm
    @RAJESH-qb6gm 3 месяца назад +1

    Its NOT happening ... can you help

    • @techalertr
      @techalertr  3 месяца назад

      Please go through this video once : ruclips.net/video/dN7_9AmHbdI/видео.html
      Plz share the video on your social media & with your friends to help us.
      Hope you subscribed our channel to support us.

  • @adityadudam8993
    @adityadudam8993 4 месяца назад

    Hi bro, great work. But im facing an issue, my whatsapp is not opening with AppActivate "WhatsApp" command. It gives run-time error '5' , invalid procedure call or argument.
    My code is working when i open the whatsapp application before i run the code. And its sending 3-4 messages and after then whatsapp application is closing directly during the execution(run-time).
    Please suggest a solution for my issue.

  • @saleemfaizynenmini
    @saleemfaizynenmini 5 месяцев назад +1

    How to send image unsaved number different like Id card

    • @techalertr
      @techalertr  5 месяцев назад

      Hello sir,
      i will publish a video on this topic in 6 to 7 days.
      Please share the video on your social media & with your friends to help us.
      Hope you subscribed our channel to support us.

    • @saleemfaizynenmini
      @saleemfaizynenmini 5 месяцев назад

      @@techalertr nice

  • @kundanroy8205
    @kundanroy8205 4 месяца назад

    but I'm not able to activate WhatsApp as it's giving the error of "run time error 5, Invalid procedure call or argument"

  • @shiroya4037
    @shiroya4037 3 месяца назад +1

    sathe me photo kese lagaye bro

    • @techalertr
      @techalertr  3 месяца назад

      Please go through this video once : ruclips.net/video/COg2MFQjUbA/видео.html
      Plz share the video on your social media & with your friends to help us.
      Hope you subscribed our channel to support us.

  • @bharatrasve3566
    @bharatrasve3566 5 месяцев назад +1

    Appactivate isn't working on vba code

    • @techalertr
      @techalertr  5 месяцев назад

      have you installed whatsapp desktop version?
      Please share the video on your social media & with your friends to help us.
      Hope you subscribed our channel to support us.

  • @prameshkudalkar520
    @prameshkudalkar520 5 месяцев назад +1

    Suppose start mai sirf Hi beja aur reply aane ke baad macro kaise banaye ki baad Mai promotion ka msg chale jaye

    • @techalertr
      @techalertr  5 месяцев назад

      brother iska code soch rha hu. bt ab tk success nhi hua. jaise hi code krunga i will upload a video for sure.
      Please share the video on your social media & with your friends to help us.
      Hope you subscribed our channel to support us.

    • @sachinkale4544
      @sachinkale4544 5 месяцев назад

      Wow kya mind.. chating setup.. good idea

  • @waqasriaz4543
    @waqasriaz4543 5 месяцев назад +1

    es sy whatsapp ban to nai hoga qke hamari whatsapp pehle 4 sy 5 bar ban ho chuki hai msg send krte krte to kya es method sy whatsapp ban to nai hoga plz guide krden, thnkyou

    • @techalertr
      @techalertr  5 месяцев назад +1

      Hi,
      agar proper time gap hai msgs me to ban nahi hoga. jaise video me maine 18sec.ka gap rkha h msgs me to is condition me ban nhi hoga. agar ap 10 sec.ya usse kam ka gap rkhenge to block ho skta hai.
      Please share the video on your social media & with your friends to help us.
      Hope you subscribed our channel to support us.

  • @tarun3458
    @tarun3458 2 месяца назад

    Number seen in formula box

  • @apnipathsala9557
    @apnipathsala9557 5 месяцев назад +1

    Bhai jaise 100 store ka data nikale or direct bhejna suru kiye to ho sakta kisi ka WhatsApp na ho to usko skip kar de Aisa kuchh ho sakta h ??

    • @abdulrahmansyed6736
      @abdulrahmansyed6736 5 месяцев назад +3

      I am searching for the same.

    • @apnipathsala9557
      @apnipathsala9557 5 месяцев назад

      @@abdulrahmansyed6736 mile to reply kijiyega

    • @techalertr
      @techalertr  5 месяцев назад +1

      Brother i am working on that code.
      Please share the video on your social media & with your friends to help us.
      Hope you subscribed our channel to support us.

    • @techalertr
      @techalertr  5 месяцев назад +1

      Brother i am working on that code.
      Please share the video on your social media & with your friends to help us.
      Hope you subscribed our channel to support us.

    • @sachinkale4544
      @sachinkale4544 5 месяцев назад

      Mera bhi yahi saval hai

  • @saleemfaizynenmini
    @saleemfaizynenmini 5 месяцев назад +1

    How to send different pdf to unsaved numbers

    • @apnipathsala9557
      @apnipathsala9557 5 месяцев назад

      Use different location

    • @techalertr
      @techalertr  5 месяцев назад

      I will upload a video on this topic soon.
      Please share the video on your social media & with your friends to help us.
      Hope you subscribed our channel to support us.

    • @saleemfaizynenmini
      @saleemfaizynenmini 5 месяцев назад

      Hlo​@@techalertr

    • @saleemfaizynenmini
      @saleemfaizynenmini 5 месяцев назад

      When upload that vedio​@@techalertr

  • @TechMe.79
    @TechMe.79 5 месяцев назад

    I tried to send to 100 contacts. It was sending upto 7 messages perfectly but then it could not perform. Can you help it

    • @D.E.DTravelAssistanceDocuments
      @D.E.DTravelAssistanceDocuments 4 месяца назад +1

      Try one more time. me too faced the same problem. but it only for the first time. now i can send 100, 500 messages

  • @VesrnTechnologies
    @VesrnTechnologies 3 месяца назад

    Sir! If number is not belongs to Whatsapp, then entire process will collapsed

  • @himanshuharplani3113
    @himanshuharplani3113 5 месяцев назад

    WhatsApp baar baar band ho raha h, after sending messages to 3-4 contacts. What can be done?

  • @PrimeStudyOfficial
    @PrimeStudyOfficial 3 месяца назад +1

    Poora video hi mask kar diya. Viewers ko kuch to dikhna chahiye

    • @techalertr
      @techalertr  3 месяца назад

      Brother contacts n messages nhi show kr skta na. mechanism show Kiya hu. Excel template provide kiya hu.
      Aur doubts h to Instagram pe contact kr skte h

  • @udaramjakhar76
    @udaramjakhar76 5 месяцев назад +1

    Sir Help me
    Sub Example()
    If (Computer Me Network Na Hone Par)
    Mgs box "Network Not Available"
    Exit sub
    Else
    Code Run (Whatsapp Msg)
    End if

    • @techalertr
      @techalertr  5 месяцев назад

      Ok. i will work on this code/
      Please share the video on your social media & with your friends to help us.
      Hope you subscribed our channel to support us.

  • @NSPMATHS
    @NSPMATHS 5 месяцев назад +1

    can i contact you for my same app creation?

    • @techalertr
      @techalertr  5 месяцев назад

      Yes sir you can contact me on instagram.
      Please share the video on your social media & with your friends to help us.
      Hope you subscribed our channel to support us.

  • @sachinkale4544
    @sachinkale4544 5 месяцев назад

    list me whatsapp aur non whatsapp number hai to shirf whatsapp number ko sms jaye..non whatsapp number ko egnore kare error na aye