Giter VIP home page Giter VIP logo

vba.cvrapi's Introduction

VBA.CVRAPI

General

Introduction

A complete collection of VBA modules and functions to call the CVR API using JavaScript at:

CVR API

Documentation

The official documentation for the API can be found here:

CVR API Documentation

Usage

Tested with Microsoft Access/Excel 2016 and 365, 32- and 64-bit, but should work with any version from 2007 and forward.

As a minimum, these modules are needed:

  • CvrService
  • JsonCollection
  • JsonScript
  • JsonService

and, in Word or Excel, for functions only found in Access:

  • Access

Also, in function CvrLookup, don't forget to fill in the application specific constants UserAgentOrg and UserAgentApp with the information about your application. If you don't, a messagebox will pop to remind you to do so, and the function will exit:

    ' Specify company name and project name in UserAgentOrg and UserAgentApp before calling
    ' the CVR API service.
    ' Build a UserAgent string that holds this info and, optionally, contact name and phone/e-mail:
    '
    '   Company - Project [- contact person [- contact phone or e-mail]]
    '
    ' Example:
    '
    '   "Contoso - CRM-system - Martin Mikkelsen +45 42424242"
    '
    ' Application specific constants.
    Const UserAgentOrg      As String = ""                  ' MUST fill in: Your organisation.
    Const UserAgentApp      As String = ""                  ' MUST fill in: Your app name.

64-bit VBA

For 64-bit VBA, a third-party dll, Tablacus Script Control 64, must be installed to replace the Microsoft Script Control 1.0 as this runs with 32-bit VBA only.

Implementation

In most cases, an application will need functions like the example functions found in module CvrDemo.

2021-03-07.

vba.cvrapi's People

Contributors

gustavbrock avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.