Project VBA Macro crashes client in 2019 on prem

Brass Contributor

Hi all,

trying to move a working VBA module from an old 2013 on prem system to a 2019 on prem system I'm currently stuck with the following piece of code:

 

 

userServerSettings = GetProjectServerSettings(xmlRequest)

 

As soon as execution hits this line, the Project Client crashes.

The call seems to have changed and requires another parameter ( https://docs.microsoft.com/de-de/dotnet/api/microsoft.office.interop.msproject._msproject.getproject...), but adding the current project e.g. still leads to the client crashing. 

 

Same if we are using the Application.GetProjectServerSettingsEx function.

Has this function been deprecated in 2019? Are there alternatives?

0 Replies