IBM has provided a dll to support VBA logging into TM1 using CAMPassport integrated authentication within Excel. The dll is 32 bit only and the supplied excel file does not run in 64 bit Excel.
Hopefully one of these is a permanent link to the article and link https://www.ibm.com/support/pages/uid/swg21959177 https://www.ibm.com/support/pages/tm1-api-excel-vba-coding-and-library-automatically-connect-tm1-server-ibm-cognos-cam-security-mode-4-and-5
These are the steps required to get the xlsm file provided by IBM working in 64 bit office. Or the updated VBA module is in the second file of this gist.
When opening TEST_CAM_CONNECT.xlsm the system throws up errors that the funtions are not compatible with 64 bit office.
- Search Replace "Declare Function" with "Declare PtrSafe Function"