Getting information from cdbase with vba excel

Hello,
I’m beginning to use SOFiSTiK. I was trying to read data from CDB using VBA excel.
I have seen examples in SOFiSTiK’s files but while executing there is error like to change my vba version.
I have vba7 x64. have anyone dealt with this issue?

Hello

I assume you have seen the following help?
https://www.sofistik.de/documentation/2020/en/cdb_interfaces/vba/configure.html

I have installed VBA 7.1and everything works fine. Have you installed the latest updates?

Best regards
Frederik Höller
Your SOFiSTiK Support Team

Thank you.

I have seen it.
I’m using SOFiSTiK 2018, a student version.
So after execution, I have this message sof_cdb_w-70.ddl can’t find.

Best regards
Rem

I think you can’t get data from the CDB with a student license, because I had the same problem some time ago…

I think, it is not your license.
Sorry, further only in german:
Ich tippe eher auf eine fehlende bzw. falsche Pfadangabe zu den Sofistik-DLLs für den CDB-Zugriff mit VBA.
Sofistik trägt den in der Registry ein [Computer\HKEY_LOCAL_MACHINE\SOFTWARE\SOFiSTiK\InstallLocation], da gab es mal irgendein Problem mit einer veralteten Schlüsselbezeichnung, die nicht zum VBA-Pfadextraktionsaufruf passt:
Public Function expandPath()
Dim Path As String: Dim analysisPath As String
Path = Environ(“Path”): analysisPath = ReadRegStr(HKEY_LOCAL_MACHINE, “SOFTWARE\SOFiSTiK\2016”, “analysis_33_x64”, 64)

Im VBA sollte da z. B. stehen: “SOFTWARE\SOFiSTiK\InstallLocation”, “sofistik_70”, 64)
ODER vielleicht auch “SOFTWARE\SOFiSTiK\InstallLocation”, “sofistik_50”, 64).

Also auf jeden Fall muss die Zugriffsdefinition in VBA zu den Registry-Einträgen passen. Und der Registry-Eintrag muss auf das richtige Sofistik-Installationsverzeichnis verweisen.

Unabhängig von dieser Pfadangabe: Die Beispieldatei im Sofistik-Installationspfad (…programs…\SOFiSTiK\2018\SOFiSTiK 2018\interfaces\examples\vba\cdb2excel_2018_1.xlsm) könnte bei Aufruf aus diesem Verzeichnis trotzdem funktionieren.

try sof_cdb_w_edu-70.dll

sorry for the late answer, I’m new here

4 posts were split to a new topic: Read design results with EXCEL VBA

Reason: Original post older than a year and new post topic does not match the old post topic