+ Reply to Thread
Results 1 to 8 of 8

Combine vba and bulks sms API with existing criteria in Excel Spreadsheet

  1. #1
    Registered User
    Join Date
    04-17-2019
    Location
    nigeria
    MS-Off Ver
    windows 10
    Posts
    6

    Post Combine vba and bulks sms API with existing criteria in Excel Spreadsheet

    Hello,
    I have an issue. that i need help with.
    I have spreadsheet with vba code that i use to send email via outlook based on certain criteria in a cell. I want to be able to configure it to also use the same Criteria for the API supplied by my bulk sms provider to send sms. The SMS provider has sent me the API now i need to make it to utilize these conditions.
    the existing sheet search for an email address in a certain cell and also checks if there is a YES written in another cell for it to generate an email to the address and picks certain information from others cells for the body of the email.
    I got an API from my bulk sms provider and has not been able to include it in the code to use the conditions.

    Please note that i have checked through similar threads that dealt with API and bulksms but didnt find my solution.

    i tried posting the code here but the system keeps giving the below errors
    You are not allowed to post any kinds of links, images or videos until you post a few times.




    Regards

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Combine vba and bulks sms API with existing criteria in Excel Spreadsheet

    Posting a code is no problem, you are probably posting something else, therefor the message
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  3. #3
    Registered User
    Join Date
    04-17-2019
    Location
    nigeria
    MS-Off Ver
    windows 10
    Posts
    6

    Re: Combine vba and bulks sms API with existing criteria in Excel Spreadsheet

    THIS IS THE CODE BELOW FOR THE SPREADSHEET:

    Sub Notification()

    Dim OutApp As Object
    Dim OutMail As Object
    Dim cell As Range

    Application.ScreenUpdating = False
    Set OutApp = CreateObject("Outlook.Application")

  4. #4
    Registered User
    Join Date
    04-17-2019
    Location
    nigeria
    MS-Off Ver
    windows 10
    Posts
    6

    Re: Combine vba and bulks sms API with existing criteria in Excel Spreadsheet

    Quote Originally Posted by Goodi View Post
    THIS IS THE CODE BELOW FOR THE SPREADSHEET:

    Sub Notification()

    Dim OutApp As Object
    Dim OutMail As Object
    Dim cell As Range

    Application.ScreenUpdating = False
    Set OutApp = CreateObject("Outlook.Application")
    can anyone help me out on this, i keep getting the error message that i cant post code or images or attachments until i have made a number of posts, how do i get around it, how many posts do i need to make in order to be enabled.

  5. #5
    Registered User
    Join Date
    04-17-2019
    Location
    nigeria
    MS-Off Ver
    windows 10
    Posts
    6

    Re: Combine vba and bulks sms API with existing criteria in Excel Spreadsheet

    Quote Originally Posted by Goodi View Post
    can anyone help me out on this, i keep getting the error message that i cant post code or images or attachments until i have made a number of posts, how do i get around it, how many posts do i need to make in order to be enabled.
    Please Login or Register  to view this content.
    Last edited by Goodi; 04-20-2019 at 04:15 PM.

  6. #6
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Combine vba and bulks sms API with existing criteria in Excel Spreadsheet

    What is your question?

  7. #7
    Registered User
    Join Date
    04-17-2019
    Location
    nigeria
    MS-Off Ver
    windows 10
    Posts
    6

    Re: Combine vba and bulks sms API with existing criteria in Excel Spreadsheet

    i currently have an existing spreadsheet that uses certain conditions to generate an email and a word document.
    the condition is that It checks for an email address in any cell in column AS and if a corresponding cell in Column F has ues written in it,
    it generate the email using outlook and the word document.
    i now want to integrate a API url given to me by my BULK SMS provide to work with the same condition.

    below is the API from the service to be integrated.

    bulksmsnigeria.com/api/v1/sms/create?api_token=PjNhqOtxBh8AwFzdjncrbXNNT7Wp72bR7maKLU2jJydpDKVIJ370hJEhzassY&from=BulkSMSNG&to=999999999&body=myMsg"

    below is the existing code. i am unable to post the API from the sms provider due to this forum restirction, it says i cant post now until i have made some number of posts.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Goodi; 04-21-2019 at 05:46 AM. Reason: updated attachment

  8. #8
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Combine vba and bulks sms API with existing criteria in Excel Spreadsheet

    Will see what I can do, let me first see what it should do and what tha API you mention should be doing

+ 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. How can i run an existing excel vba on a new spreadsheet automatically?
    By songhaegyo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-27-2017, 09:37 AM
  2. Pre populating excel form with data from existing spreadsheet
    By MichelleP in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-25-2016, 12:50 AM
  3. automatically copying rows to an existing spreadsheet based on criteria
    By Jocatlett in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-30-2013, 07:21 PM
  4. Export Specific Data from existing excel spreadsheet into new Excel Sheet
    By Annie1065 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-24-2012, 03:34 AM
  5. combine dll in excel spreadsheet
    By Richard Bull in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-16-2011, 05:07 AM
  6. [SOLVED] Can I open an existing Excel spreadsheet in works?
    By Leigh Anne in forum Excel General
    Replies: 1
    Last Post: 06-23-2006, 06:55 PM
  7. [SOLVED] Excel 2007 chart problem with existing spreadsheet
    By Mark in forum Excel General
    Replies: 3
    Last Post: 06-19-2006, 07:55 AM

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