+ Reply to Thread
Results 1 to 8 of 8

vba to send msg on whatsapp

  1. #1
    Registered User
    Join Date
    05-02-2018
    Location
    cairo
    MS-Off Ver
    2010
    Posts
    6

    vba to send msg on whatsapp

    Hello ,
    i have a list of customer codes with mobile numbers and i have created a vba (you can find it below) to send a text msg to every customer after i open whatsapp web and this is working great but i have two issues with this vba
    1- i need to attach a pdf file which on my pc
    2- if i don't have the customer number in my contact list i need to ignore this number and continue (if there is a solution to send anyway it will be great)

    and this is the vba

    Sub Send()
    Worksheets(2).Activate
    Dim lrow As Long
    lrow = Cells(Rows.Count, 1).End(xlUp).Row
    For Each myCell In Worksheets(2).Range("A1:A" & lrow).Cells
    Worksheets(1).Activate
    Worksheets(1).Range("A1") = myCell.Value
    Dim text As String
    Dim contact As String
    text = Range("C1").Value
    contact = Range("A2").Value
    Fazer (3000)
    Call SendKeys("{TAB}", True)
    Fazer (1000)
    Call SendKeys(contact, True)
    Fazer (1000)
    Call SendKeys("~", True)
    Fazer (1000)
    Call SendKeys(text, True)
    Fazer (1000)
    Call SendKeys("~", True)

    startrow = startrow + 1

    Next myCell
    End Sub
    Function Fazer(ByVal Acao As Double)
    Application.Wait (Now() + Acao / 24 / 60 / 60 / 1000)
    End Function

  2. #2
    Registered User
    Join Date
    05-02-2018
    Location
    cairo
    MS-Off Ver
    2010
    Posts
    6

    Re: vba to send msg on whatsapp

    Any Help????

  3. #3
    Registered User
    Join Date
    09-27-2018
    Location
    span
    MS-Off Ver
    mac
    Posts
    6

    Re: vba to send msg on whatsapp

    Hello, is more easy to add all the number to yours contacts and to put the pdf in one url file, send your file to your cloud and share the link of the file with the text.
    With this metode you don't duplicate any file in your mobile. Valid to pdf or photo or video...anything.

  4. #4
    Registered User
    Join Date
    05-02-2018
    Location
    cairo
    MS-Off Ver
    2010
    Posts
    6

    Re: vba to send msg on whatsapp

    Quote Originally Posted by eulices31 View Post
    Hello, is more easy to add all the number to yours contacts and to put the pdf in one url file, send your file to your cloud and share the link of the file with the text.
    With this metode you don't duplicate any file in your mobile. Valid to pdf or photo or video...anything.
    Dear : eulices31 thank you,
    a different pdf should be sent to every customer so i need to attach it from my pc
    i did it already with outlook mail but i can't do this using what'sapp

  5. #5
    Registered User
    Join Date
    09-27-2018
    Location
    span
    MS-Off Ver
    mac
    Posts
    6

    Re: vba to send msg on whatsapp

    so sorry, the idea than i have is...
    For send different documents is better to upload this everyone in one server (for example drive) and later to send with the url of every document to every client.

    if you resolv this problem...let my know please.

    I have see programs to send automatic archives and text in whatsapp but don't see for multiples document.

  6. #6
    Registered User
    Join Date
    05-02-2018
    Location
    cairo
    MS-Off Ver
    2010
    Posts
    6

    Re: vba to send msg on whatsapp

    Quote Originally Posted by eulices31 View Post
    so sorry, the idea than i have is...
    For send different documents is better to upload this everyone in one server (for example drive) and later to send with the url of every document to every client.

    if you resolv this problem...let my know please.

    I have see programs to send automatic archives and text in whatsapp but don't see for multiples document.

    the issue is more complicated because this macro is a part of another macro that makes payment request for every customer (when i change the customer code , the payment request figures changes ) then it is saved as pdf named with the same customer code after that i need to send it to the customer on what'sapp

  7. #7
    Registered User
    Join Date
    09-27-2018
    Location
    span
    MS-Off Ver
    mac
    Posts
    6

    Re: vba to send msg on whatsapp

    And don't interest to program this option in PHP or other system?

  8. #8
    Registered User
    Join Date
    05-02-2018
    Location
    cairo
    MS-Off Ver
    2010
    Posts
    6

    Re: vba to send msg on whatsapp

    Quote Originally Posted by eulices31 View Post
    And don't interest to program this option in PHP or other system?
    Realy , i don't know

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Want to verify which mobile numbers are on whatsapp
    By it_electronics2000 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-23-2021, 05:17 AM
  2. send whatsapp messages from excel
    By raj soni in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-24-2019, 04:14 PM
  3. Excel VBA To Web.whatsapp.com
    By chhiew in forum Excel General
    Replies: 19
    Last Post: 10-12-2018, 05:07 AM
  4. Send message to myself in WhatsApp form Excel VBA
    By BillDoor in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-22-2018, 03:40 AM
  5. whatsapp group
    By adekinteristi in forum Suggestions for Improvement
    Replies: 1
    Last Post: 10-10-2017, 06:55 AM
  6. Excel VBA to Web.Whatsapp
    By chhiew in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-06-2017, 02:23 AM
  7. Whatsapp Contact filter
    By lulupatel in forum Excel General
    Replies: 10
    Last Post: 10-14-2014, 03:41 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1