OLE Commands for Powerbuilder to Word/Excel

OLE Commands for Powerbuilder to Word/Excel

I was wondering if there is a list available somewhere of all the commands with their syntax for OLE? I want to manipulate Word and Excel from inside Powerbuilder without using the standard plug-ins.

There are two places to look for the commands and their syntax. The first place is the Browser window in PowerBuilder. Click on the OLE tab and search for the OLE object you want to manipulate and all the commands and properties will be there.

While that works fine for simple controls, Word and Excel are a different kettle of fish. The best way to automate these tools is to use the macro recorder facility.

Fire up Word and switch on the macro recorder, then do the step you want to automate. Switch off the recorder and take a look at the macro that was recorded. This will give you all the commands you need to perform the taks.

Then its just a simple matter of converting them over to PowerBuilder, which after a few times is relatively simple.

Share the Post:
Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular

XDR solutions

The Benefits of Using XDR Solutions

Cybercriminals constantly adapt their strategies, developing newer, more powerful, and intelligent ways to attack your network. Since security professionals must innovate as well, more conventional endpoint detection solutions have evolved

AI is revolutionizing fraud detection

How AI is Revolutionizing Fraud Detection

Artificial intelligence – commonly known as AI – means a form of technology with multiple uses. As a result, it has become extremely valuable to a number of businesses across

AI innovation

Companies Leading AI Innovation in 2023

Artificial intelligence (AI) has been transforming industries and revolutionizing business operations. AI’s potential to enhance efficiency and productivity has become crucial to many businesses. As we move into 2023, several