Getting started with xlbridge in Python

Writing your first server

  1. Download and install the XlBridge Excel add-in from https://xlbridge.qaplix.se.

  2. Install the pip package.

     pip install xlbridge
    
  3. Create a new Python file testserver.py with the following content:

     import xlbridge as bridge
    
     def pysum(x,y):
         return x+y
    
     server = bridge.server()
     server.add(pysum)
     server.run()
    
  4. Run the Python file:

     python testserver.py
    
  5. The new Excel formula PYSUM should be available in Excel in a few seconds.

Read more