error message when creating a new server termbase with the API

Hi,

I tried today to create a new termbase on our server using the API in VBA (Excel)

Dim oNewTB As Termbase
oNewTB = oTbs.New("NewTermbase", "PM: Desautel", "")

This works correctly on the server side but I got an error message in my development interface:

"Runtime error 91 object variable or With block variable not set" . But I have no "with block" in my programm... Should I? Can you give me an example how to create a server termbase properly.

Thank you

Sébastien