Get data from EXTERNAL thirdy party Application

device

New Member
Joined
May 25, 2009
Messages
5
Hello,

This is my first post and since I'm new at VBA (I learned a lot through MrExcel forums, thank you all) I would like to know if there is any way to get information from external software window, for example, information on textboxs of other software applications (not Office)

I'm developing an VBA/Excel application using userforms and I need to extract some data on a thirdy party software from two or three textboxs and import them to my own textboxs in excel.


Is that possible via DDE, API or any other method ? how?

Thanks a million!

device
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Basically, depends. Some applications expose object models, you can connect to them using COM technology, like you would control Word from Excel for example.

Others use DDE, so you use that.

If they don't expose either one, then using APIs is an option, but really does depend on the application. Try researching the manufacturer of the original application to see if they have any documentation on that.
 
Upvote 0
First of all thank you for your answer!

Well the software application is used on my work and I dont know who's the external developer and probably if i knew, it would likely to be hard to get such technical information.

I don't really know how to invoke DDE, COM nor API, how can I do it?

Regards,
device
 
Upvote 0
I think there's some DDE examples by searching for that in the VB help file.

For COM, do a search on "Early Binding"

For API... mhm, not sure where to lead you. Experimentation is the only resource I guess... try seeing if you can add, using Tools | References a DLL or EXE from the application, and if Excel accepts that, look in the Object Browser for any useful objects/methods/properties.

There really isn't a step by step method that I can give you, sorry.
 
Upvote 0
I will try tomorrow if i can get via object browser (it would be so great if it works)

And yeah I will try to read some tutorials/mans... the problem is that I am not a programmer and this is my first contact with vb(a) and I feel myself putting to much effort on my objectives or at least creating high expactations too soon.

anyway thanks!
 
Upvote 0

Forum statistics

Threads
1,215,365
Messages
6,124,513
Members
449,168
Latest member
CheerfulWalker

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top