+ Reply to Thread
Results 1 to 2 of 2

Excel Macro - Visual Basic - Send command to serial port - Receive Data.

  1. #1
    Registered User
    Join Date
    01-26-2017
    Location
    IRELAND
    MS-Off Ver
    2016
    Posts
    17

    Excel Macro - Visual Basic - Send command to serial port - Receive Data.

    Hello everybody, I know nothing of macros for Excel.
    Need of a model that does the following:
    Connect to the serial port. (I have completed the model for this)
    Send a command.
    Receive the answer.
    Put received data at X address in spreadsheet.

    The RS232 equipment has a button to put the data to excel, but i want to create a button in excel to do the same as the button on the equipment.

    Any help will be greatly appreciated. Thank you.
    Last edited by reiiling; 02-08-2017 at 09:04 AM.

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,973

    Re: Excel Macro - Visual Basic - Send command to serial port - Receive Data.

    See link. I think this is what you are looking for.

    http://dev.emcelettronica.com/serial...n-in-excel-vba

+ 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. VBA button to send command to serial port to get data and send to Excel
    By reiiling in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-02-2017, 07:13 AM
  2. Excell Data send on com port (serial)
    By razfartan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-24-2013, 02:06 PM
  3. extract data from a serial port
    By danncas in forum The Water Cooler
    Replies: 6
    Last Post: 01-10-2013, 09:07 PM
  4. [SOLVED] excel, visual basic and serial communication
    By Peterken in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-05-2006, 04:50 PM
  5. [SOLVED] Can I run Visual Basic procedure using Excel Visual Basic editor?
    By john.jacobs71 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-26-2005, 10:25 AM
  6. Send a query and receive data through a Comm Port
    By Jerry in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-17-2005, 05:05 PM
  7. [SOLVED] entering data from a serial port to excel
    By David C in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-20-2005, 02:06 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