Friday, February 13, 2015

SOAP Only Authentication Using VBA

Just in case you might need to access CRM from VBA using SOAP. You could probably do some something interesting with this.

This is based on the C# example I posted previously.

The full sample is a macro-enabled Excel file that authenticates to CRM using VBA and then returns the logged in user's name.

The code to generate the SOAP headers looks like this: