How to get some response from other applications

Tzighan

New Member
Joined
Aug 27, 2008
Messages
1
Hi there,
I am using Excel macros to provide some data to other application (SAP R3 window) using SendKeys and AppActivate funcionality.
I have two questions according to this :
1. How can I receive the names/titles of all currently opened windows/programs (bring them to the cells of excel sheet)? - as far as I know AppActivate works only in one way, but is there something what will give me an information about "what is opened" to use AppActivate after that using the names collected on the beggining?
2. How can I receive messages displayed in other applications (such as SAP)? - I have to have some feedback/response (place it to the cells of excel sheet) from application about some errors.

My English isn't well so I hope you understand what I'm talking about :biggrin:

Thanks in advance
Tzighan
 

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.
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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