SlideShare uma empresa Scribd logo
1 de 9
Baixar para ler offline
Bill Redirect Software can collects real-time data from any RS232 serial
                port device directly into Microsoft Excel




           Use this documentation with the product : Bill Redirect Version 6.0N or more.
                                        (Rev.: 16/08/2009)
                      Our Internet site: http://www.billproduction.com/
                              Email: info@BillProduction.com
SOFTWARE DESCRIPTION

         To connect a peripheral and receive/send data with Excel




Bill Redirect software works with any peripherals RS232, TCP and UDP !


           This professional software enables Microsoft Excel
             to send and receive data with any peripherals.




          No programming or additional hardware required !

          Supported Operating Systems: Windows 98,Me,2000,3000,XP,NT4, Vista.



                                                                                1
GENERAL INFORMATION

To configure our software you have to enter in the field password www.billproduction.com, In the
      configuration options you have the possibility to change this password for what you want.
                       To close this software, type END in the password field.




  Optional: You can download the complete manual of this software via this link:
            http://www.billproduction.com/Bill_Redirect_Manual.pdf




    Software configuration and integration service
                     It's free, fast (usually the same day), and efficient !
                      Submit your case to info@billproduction.com
                            and receive a customized solution !




                               Custom Software Development
With over 15 years of experience in successfully providing Custom Software Development solutions for
 over 300 customers, we have honed our processes and skills to cater to your specific business needs.
                  To request a feature, a Customize option or any kind of Software:
                             Contact by email: info@billproduction.com




                                                                                                    2
This example shows how you can communicate with a
  RS232 serial port peripheral with Microsoft Excel.



                       Step #1 (General)
      Download and install Bill Redirect software:
  http://www.billproduction.com/Bill_COMtoKB.ZIP

             Start “Bill Redirect” software




Enter in password field: www.billproduction.com




  Disable all except the Serial Port and Plugin section.
               Set to ON Serial Port switch.
                 Set to ON Plugin switch.




                                                           3
Step #2 (Serial Port configuration)




                    Click on button: Serial Port Configuration
        Enter the Serial Port Number where your Peripheral is connected
       Chose the Serial Port Configuration corresponding to your peripheral

Optional: If the data sent by your peripheral ends with a [ENTER], then enter 13 in the optional field




                                       otherwise leave it blank



          To see all Serial Port possibilities download the complete manual:
              http://www.billproduction.com/Bill_Redirect_Manual.pdf




                                                                                                         4
Step #3 (Microsoft Excel Plugin)
         Download and install: Plugin for Microsoft Excel:
         http://www.billproduction.com/Plugin_DDE.zip

                   Microsoft Excel configuration:
                   - Open Microsoft Excel software.
           - Save the default Excel document to a directory.
          *Example: C:BillProduction.CFGBillRedirect.xls




                     Bill DDE (plugin) configuration:
      - Excel file path: Enter the directory where your Excel file is.
          - Excel file name: Enter the Excel file name document.
             - Excel sheet name: Enter the Excel sheet name.
- Click the button: Test DDE, to test the communication with your Excel


     For more information about this Plugin use this documentation:
      http://www.billproduction.com/Bill_DDE_over_Ethernet.pdf




                                                                          5
Step #4 ( Send data command to your peripheral )

                                       Excel VBA
To send data command from Excel to Bill Redirect peripheral use this VBA source in your Excel:

     ChannelNumber = DDEInitiate("BPEXCEL", "BPEXCEL")
     DDEExecute ChannelNumber, "{TX_SERIAL[Hello Word !{ASCII:13}]}"
     DDETerminate ChannelNumber
     '** Replace the command {TX_SERIAL[Hello Word !{ASCII:13}]} by the command you want




                  Use the manual to see all the commands available:
              http://www.billproduction.com/Bill_Redirect_Manual.pdf




                         Click on button: Save Configuration
                        Click on button: Minimize to Tray Icon
                                         test




                                                                                                 6
Optional Step #5 ( If your device send many data )
                          Bill Redirect Software Data Filtering Configuration

                                              To add a rule in Bill Redirect




                                                Click on: Configuration




                                                Click on button: ADD

                           If your devices send many data separated by a character.
                                To receive data in Excel in different columns.
                          Example: If the character that separates the data is a comma
                      Enter in field Search                 Enter in field Replace by


                               ,                              {ASCII:9}


  If your devices send many data at different position in the string. To receive data in Excel in different columns.
    Example: If the first data is at position 1 to 9 the second at position 10 to 13 and the third at position 14 to 22
Enter in field                                            Enter in field Replace by
   Search
{ALL_RX}          {STRING_MID[RX_DATA,1,9]}{ASCII:9}{STRING_MID[RX_DATA,10,4]}{ASCII:9}{STRING_MID[RX_DATA,14,9]}



                       Use the manual to see all the commands available:
                   http://www.billproduction.com/Bill_Redirect_Manual.pdf




                                                                                                                      7
For more documentation visit:




http://www.billproduction.com/documentation.html




                     If a problem persist or to do more
                                         use our
                 Software configuration and integration service
                  It's free, fast (usually the same day), and efficient !
                 Submit your case to info@billproduction.com
                        and receive a customized solution !




                                                                            8

Mais conteúdo relacionado

Semelhante a Microsoft Excel and peripheral via VBA DDE (RS-232, TCPIP, USB, UDP ...)

RS232 barcode scanner Proximity reader on a specific field in your application
RS232 barcode scanner Proximity reader on a specific field in your applicationRS232 barcode scanner Proximity reader on a specific field in your application
RS232 barcode scanner Proximity reader on a specific field in your applicationtopomax
 
Control relay via schedule time
Control relay via schedule timeControl relay via schedule time
Control relay via schedule timetopomax
 
Bill redirect manual
Bill redirect manualBill redirect manual
Bill redirect manualtopomax
 
Microsoft access VBA communication with RS232 Peripherals
Microsoft access VBA  communication with RS232 PeripheralsMicrosoft access VBA  communication with RS232 Peripherals
Microsoft access VBA communication with RS232 Peripheralstopomax
 
Chapter9 and10
Chapter9 and10Chapter9 and10
Chapter9 and10Saurav
 
Chapter9and10
Chapter9and10Chapter9and10
Chapter9and10Saurav
 
Bill redirect field
Bill redirect fieldBill redirect field
Bill redirect fieldtopomax
 
ArcSight Actor Model Import Connector for Microsoft Active Directory Configur...
ArcSight Actor Model Import Connector for Microsoft Active Directory Configur...ArcSight Actor Model Import Connector for Microsoft Active Directory Configur...
ArcSight Actor Model Import Connector for Microsoft Active Directory Configur...Protect724tk
 
Control infrared remote controls receiver RS-232
Control infrared remote controls receiver RS-232Control infrared remote controls receiver RS-232
Control infrared remote controls receiver RS-232topomax
 
MondCloud Semantic Data Hub for Insurance
MondCloud Semantic Data Hub for InsuranceMondCloud Semantic Data Hub for Insurance
MondCloud Semantic Data Hub for InsuranceGeetha Sreedhar, MBA
 
Automatic dimmer package dimensioning RS-232
Automatic dimmer package dimensioning RS-232Automatic dimmer package dimensioning RS-232
Automatic dimmer package dimensioning RS-232topomax
 
MaxTECH Technical Training Presentation from MaximoWorld 2018
MaxTECH Technical Training Presentation from MaximoWorld 2018MaxTECH Technical Training Presentation from MaximoWorld 2018
MaxTECH Technical Training Presentation from MaximoWorld 2018Helen Fisher
 
Support Awid proximity reader
Support Awid proximity readerSupport Awid proximity reader
Support Awid proximity readertopomax
 
Your App is been deployed behind the Firewall! Now What?
Your App is been deployed behind the Firewall! Now What?Your App is been deployed behind the Firewall! Now What?
Your App is been deployed behind the Firewall! Now What?Dennis Reumer
 
Prodev Solutions Intro
Prodev Solutions IntroProdev Solutions Intro
Prodev Solutions IntrolarryATprodev
 
Advanced Visual Studio 2005 Tools For Office Programming And Deployment
Advanced Visual Studio 2005 Tools For Office Programming And DeploymentAdvanced Visual Studio 2005 Tools For Office Programming And Deployment
Advanced Visual Studio 2005 Tools For Office Programming And DeploymentDavid Truxall
 
Introduction to Power BI a Business Intelligence Tool by Apurva Ramteke
Introduction to Power BI a Business Intelligence Tool by Apurva RamtekeIntroduction to Power BI a Business Intelligence Tool by Apurva Ramteke
Introduction to Power BI a Business Intelligence Tool by Apurva RamtekeApurva Ramteke
 
Get On The Bus Keynote
Get On The Bus KeynoteGet On The Bus Keynote
Get On The Bus KeynoteStephen Rose
 

Semelhante a Microsoft Excel and peripheral via VBA DDE (RS-232, TCPIP, USB, UDP ...) (20)

RS232 barcode scanner Proximity reader on a specific field in your application
RS232 barcode scanner Proximity reader on a specific field in your applicationRS232 barcode scanner Proximity reader on a specific field in your application
RS232 barcode scanner Proximity reader on a specific field in your application
 
Control relay via schedule time
Control relay via schedule timeControl relay via schedule time
Control relay via schedule time
 
Bill redirect manual
Bill redirect manualBill redirect manual
Bill redirect manual
 
Microsoft access VBA communication with RS232 Peripherals
Microsoft access VBA  communication with RS232 PeripheralsMicrosoft access VBA  communication with RS232 Peripherals
Microsoft access VBA communication with RS232 Peripherals
 
Chapter9 and10
Chapter9 and10Chapter9 and10
Chapter9 and10
 
Chapter9and10
Chapter9and10Chapter9and10
Chapter9and10
 
Bill redirect field
Bill redirect fieldBill redirect field
Bill redirect field
 
ArcSight Actor Model Import Connector for Microsoft Active Directory Configur...
ArcSight Actor Model Import Connector for Microsoft Active Directory Configur...ArcSight Actor Model Import Connector for Microsoft Active Directory Configur...
ArcSight Actor Model Import Connector for Microsoft Active Directory Configur...
 
Control infrared remote controls receiver RS-232
Control infrared remote controls receiver RS-232Control infrared remote controls receiver RS-232
Control infrared remote controls receiver RS-232
 
MondCloud Semantic Data Hub for Insurance
MondCloud Semantic Data Hub for InsuranceMondCloud Semantic Data Hub for Insurance
MondCloud Semantic Data Hub for Insurance
 
Automatic dimmer package dimensioning RS-232
Automatic dimmer package dimensioning RS-232Automatic dimmer package dimensioning RS-232
Automatic dimmer package dimensioning RS-232
 
MaxTECH Technical Training Presentation from MaximoWorld 2018
MaxTECH Technical Training Presentation from MaximoWorld 2018MaxTECH Technical Training Presentation from MaximoWorld 2018
MaxTECH Technical Training Presentation from MaximoWorld 2018
 
Support Awid proximity reader
Support Awid proximity readerSupport Awid proximity reader
Support Awid proximity reader
 
Your App is been deployed behind the Firewall! Now What?
Your App is been deployed behind the Firewall! Now What?Your App is been deployed behind the Firewall! Now What?
Your App is been deployed behind the Firewall! Now What?
 
Prodev Solutions Intro
Prodev Solutions IntroProdev Solutions Intro
Prodev Solutions Intro
 
124157075 gb
124157075 gb124157075 gb
124157075 gb
 
Advanced Visual Studio 2005 Tools For Office Programming And Deployment
Advanced Visual Studio 2005 Tools For Office Programming And DeploymentAdvanced Visual Studio 2005 Tools For Office Programming And Deployment
Advanced Visual Studio 2005 Tools For Office Programming And Deployment
 
Biztalk
BiztalkBiztalk
Biztalk
 
Introduction to Power BI a Business Intelligence Tool by Apurva Ramteke
Introduction to Power BI a Business Intelligence Tool by Apurva RamtekeIntroduction to Power BI a Business Intelligence Tool by Apurva Ramteke
Introduction to Power BI a Business Intelligence Tool by Apurva Ramteke
 
Get On The Bus Keynote
Get On The Bus KeynoteGet On The Bus Keynote
Get On The Bus Keynote
 

Mais de topomax

Logiciel pour Balance RS232 redirige le poids dans votre application
Logiciel pour Balance RS232 redirige le poids dans votre applicationLogiciel pour Balance RS232 redirige le poids dans votre application
Logiciel pour Balance RS232 redirige le poids dans votre applicationtopomax
 
USB Balance and Scale Software The perfect solution to automate balance and s...
USB Balance and Scale Software The perfect solution to automate balance and s...USB Balance and Scale Software The perfect solution to automate balance and s...
USB Balance and Scale Software The perfect solution to automate balance and s...topomax
 
Windows Telnet Server for your mobile devices, RF Terminal data acquisiiton B...
Windows Telnet Server for your mobile devices, RF Terminal data acquisiiton B...Windows Telnet Server for your mobile devices, RF Terminal data acquisiiton B...
Windows Telnet Server for your mobile devices, RF Terminal data acquisiiton B...topomax
 
Serial RS232 to Keyboard wedge software
Serial RS232 to Keyboard wedge softwareSerial RS232 to Keyboard wedge software
Serial RS232 to Keyboard wedge softwaretopomax
 
How support caller ID phone number
How support caller ID phone numberHow support caller ID phone number
How support caller ID phone numbertopomax
 
How support caller Id phone number with a modem
How support caller Id phone number with a modemHow support caller Id phone number with a modem
How support caller Id phone number with a modemtopomax
 
Bill redirect manual_fr
Bill redirect manual_frBill redirect manual_fr
Bill redirect manual_frtopomax
 
iPod iPhone iPod Remote control via TCPIP
iPod iPhone iPod Remote control via TCPIPiPod iPhone iPod Remote control via TCPIP
iPod iPhone iPod Remote control via TCPIPtopomax
 
Storm Keyboard / Keypad RS-232 Wedge keyboard solution
Storm Keyboard / Keypad RS-232  Wedge keyboard solutionStorm Keyboard / Keypad RS-232  Wedge keyboard solution
Storm Keyboard / Keypad RS-232 Wedge keyboard solutiontopomax
 
Windows Virtual Keyboard modification
Windows Virtual Keyboard modificationWindows Virtual Keyboard modification
Windows Virtual Keyboard modificationtopomax
 
Bill redirect multiply
Bill redirect multiplyBill redirect multiply
Bill redirect multiplytopomax
 

Mais de topomax (11)

Logiciel pour Balance RS232 redirige le poids dans votre application
Logiciel pour Balance RS232 redirige le poids dans votre applicationLogiciel pour Balance RS232 redirige le poids dans votre application
Logiciel pour Balance RS232 redirige le poids dans votre application
 
USB Balance and Scale Software The perfect solution to automate balance and s...
USB Balance and Scale Software The perfect solution to automate balance and s...USB Balance and Scale Software The perfect solution to automate balance and s...
USB Balance and Scale Software The perfect solution to automate balance and s...
 
Windows Telnet Server for your mobile devices, RF Terminal data acquisiiton B...
Windows Telnet Server for your mobile devices, RF Terminal data acquisiiton B...Windows Telnet Server for your mobile devices, RF Terminal data acquisiiton B...
Windows Telnet Server for your mobile devices, RF Terminal data acquisiiton B...
 
Serial RS232 to Keyboard wedge software
Serial RS232 to Keyboard wedge softwareSerial RS232 to Keyboard wedge software
Serial RS232 to Keyboard wedge software
 
How support caller ID phone number
How support caller ID phone numberHow support caller ID phone number
How support caller ID phone number
 
How support caller Id phone number with a modem
How support caller Id phone number with a modemHow support caller Id phone number with a modem
How support caller Id phone number with a modem
 
Bill redirect manual_fr
Bill redirect manual_frBill redirect manual_fr
Bill redirect manual_fr
 
iPod iPhone iPod Remote control via TCPIP
iPod iPhone iPod Remote control via TCPIPiPod iPhone iPod Remote control via TCPIP
iPod iPhone iPod Remote control via TCPIP
 
Storm Keyboard / Keypad RS-232 Wedge keyboard solution
Storm Keyboard / Keypad RS-232  Wedge keyboard solutionStorm Keyboard / Keypad RS-232  Wedge keyboard solution
Storm Keyboard / Keypad RS-232 Wedge keyboard solution
 
Windows Virtual Keyboard modification
Windows Virtual Keyboard modificationWindows Virtual Keyboard modification
Windows Virtual Keyboard modification
 
Bill redirect multiply
Bill redirect multiplyBill redirect multiply
Bill redirect multiply
 

Microsoft Excel and peripheral via VBA DDE (RS-232, TCPIP, USB, UDP ...)

  • 1. Bill Redirect Software can collects real-time data from any RS232 serial port device directly into Microsoft Excel Use this documentation with the product : Bill Redirect Version 6.0N or more. (Rev.: 16/08/2009) Our Internet site: http://www.billproduction.com/ Email: info@BillProduction.com
  • 2. SOFTWARE DESCRIPTION To connect a peripheral and receive/send data with Excel Bill Redirect software works with any peripherals RS232, TCP and UDP ! This professional software enables Microsoft Excel to send and receive data with any peripherals. No programming or additional hardware required ! Supported Operating Systems: Windows 98,Me,2000,3000,XP,NT4, Vista. 1
  • 3. GENERAL INFORMATION To configure our software you have to enter in the field password www.billproduction.com, In the configuration options you have the possibility to change this password for what you want. To close this software, type END in the password field. Optional: You can download the complete manual of this software via this link: http://www.billproduction.com/Bill_Redirect_Manual.pdf Software configuration and integration service It's free, fast (usually the same day), and efficient ! Submit your case to info@billproduction.com and receive a customized solution ! Custom Software Development With over 15 years of experience in successfully providing Custom Software Development solutions for over 300 customers, we have honed our processes and skills to cater to your specific business needs. To request a feature, a Customize option or any kind of Software: Contact by email: info@billproduction.com 2
  • 4. This example shows how you can communicate with a RS232 serial port peripheral with Microsoft Excel. Step #1 (General) Download and install Bill Redirect software: http://www.billproduction.com/Bill_COMtoKB.ZIP Start “Bill Redirect” software Enter in password field: www.billproduction.com Disable all except the Serial Port and Plugin section. Set to ON Serial Port switch. Set to ON Plugin switch. 3
  • 5. Step #2 (Serial Port configuration) Click on button: Serial Port Configuration Enter the Serial Port Number where your Peripheral is connected Chose the Serial Port Configuration corresponding to your peripheral Optional: If the data sent by your peripheral ends with a [ENTER], then enter 13 in the optional field otherwise leave it blank To see all Serial Port possibilities download the complete manual: http://www.billproduction.com/Bill_Redirect_Manual.pdf 4
  • 6. Step #3 (Microsoft Excel Plugin) Download and install: Plugin for Microsoft Excel: http://www.billproduction.com/Plugin_DDE.zip Microsoft Excel configuration: - Open Microsoft Excel software. - Save the default Excel document to a directory. *Example: C:BillProduction.CFGBillRedirect.xls Bill DDE (plugin) configuration: - Excel file path: Enter the directory where your Excel file is. - Excel file name: Enter the Excel file name document. - Excel sheet name: Enter the Excel sheet name. - Click the button: Test DDE, to test the communication with your Excel For more information about this Plugin use this documentation: http://www.billproduction.com/Bill_DDE_over_Ethernet.pdf 5
  • 7. Step #4 ( Send data command to your peripheral ) Excel VBA To send data command from Excel to Bill Redirect peripheral use this VBA source in your Excel: ChannelNumber = DDEInitiate("BPEXCEL", "BPEXCEL") DDEExecute ChannelNumber, "{TX_SERIAL[Hello Word !{ASCII:13}]}" DDETerminate ChannelNumber '** Replace the command {TX_SERIAL[Hello Word !{ASCII:13}]} by the command you want Use the manual to see all the commands available: http://www.billproduction.com/Bill_Redirect_Manual.pdf Click on button: Save Configuration Click on button: Minimize to Tray Icon test 6
  • 8. Optional Step #5 ( If your device send many data ) Bill Redirect Software Data Filtering Configuration To add a rule in Bill Redirect Click on: Configuration Click on button: ADD If your devices send many data separated by a character. To receive data in Excel in different columns. Example: If the character that separates the data is a comma Enter in field Search Enter in field Replace by , {ASCII:9} If your devices send many data at different position in the string. To receive data in Excel in different columns. Example: If the first data is at position 1 to 9 the second at position 10 to 13 and the third at position 14 to 22 Enter in field Enter in field Replace by Search {ALL_RX} {STRING_MID[RX_DATA,1,9]}{ASCII:9}{STRING_MID[RX_DATA,10,4]}{ASCII:9}{STRING_MID[RX_DATA,14,9]} Use the manual to see all the commands available: http://www.billproduction.com/Bill_Redirect_Manual.pdf 7
  • 9. For more documentation visit: http://www.billproduction.com/documentation.html If a problem persist or to do more use our Software configuration and integration service It's free, fast (usually the same day), and efficient ! Submit your case to info@billproduction.com and receive a customized solution ! 8