It is not easy to find the correct commands to control excel interface.
With the Macro Recorder it is very easy to find the VBA-Commands!
Now i search a converter from VBA to Cobol?
Thanks for help!
Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
If an answer to your question is correct, click on "Verify Answer" under the "More" button. The answer will now appear with a checkmark. Please be sure to always mark answers that resolve your issue as verified. Your fellow Community members will appreciate it!  Learn more
It is not easy to find the correct commands to control excel interface.
With the Macro Recorder it is very easy to find the VBA-Commands!
Now i search a converter from VBA to Cobol?
Thanks for help!
In Net Express, there was the Type Library Assistant that would generate the COBOL sources from COM Interfaces for selected components. This tool is not available in Visual COBOL. I do not know of any automated tool to do this conversion. We don't document the interface because Office applications are from Microsoft and not Micro Focus/OpenText. This is the same for something like SQL. We document the NX/VC specific items like OpenESQL but we do not document the SQL language.
If, instead of native code, you used .NET managed code for the Excel interface, there are a lot of C# examples and we do have a converter from C# to COBOL.
Chris Glazier
Rocket Software - Principal Technical Support Specialist
If you found this post useful, give it a “Like” or click on "Verify Answer" under the "More" button
Chris, where can we found the converter from C# to cobol? Is it a component from Netexpress 5.x or Visual cobol?
cg
You can find it here:
C# to COBOL Converter | Application Modernization and Connectivity Marketplace (microfocus.com)
This converts from C# to Visual COBOL .NET managed COBOL code
Chris Glazier
Rocket Software - Principal Technical Support Specialist
If you found this post useful, give it a “Like” or click on "Verify Answer" under the "More" button
Hi Chris, i have test the converter today, but the output in cobol is only "managed cobol" and not "normal cobol"
Or is ther a other converter available?
I specifically mentioned that the converter was for converting C# to .NET managed COBOL. I am not aware of any other converter that will convert other language examples to native OO syntax.
Chris Glazier
Rocket Software - Principal Technical Support Specialist
If you found this post useful, give it a “Like” or click on "Verify Answer" under the "More" button