Excel VBA General QUESTION

AnilPullagura

Board Regular
Joined
Nov 19, 2010
Messages
98
Hey Folks,

I have an interesting(atleast for me) question?

Excel 2007 professional edition.


  • Can we control external applications using Excel VBA? Applications connected with CITRIX Client
  • If so, How?
  • Is the reference "Microsoft Shell Controls and Automation" the correct one to do this?

Any help on this is greatly appreciated.

Thanks,
Anil
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
I've tried multiple, multiple times without succcess.
Because everything is running in the citrix environment, there are no objects exposed to the local machine (Other than the client, of course).
But from there, it's not really term. server, so sendkey commands are useless if not tedious and mousecontrol APIs are too reliant on the citrix client window to perform reliable screen click calcs; then they rearrange the desktop icons making it completely unreliable, and of course nothing is exposed outside the client (that would rather defeat the purpose).
I've wasted a lot of my time hunting to no avail.

Maybe I just never found the correct combo of technology, but I'm resolved the fact that the engineers at Citrix are smarter than I.

If VBA is available within the client, then life is EZ.

That's my story.
[30]

Edit: Theoretically, one could get the parent window of the citrix client and possibly iterate every child window with Win-API (AOL hacks use to do this): I was never that motivated.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,566
Messages
6,179,551
Members
452,927
Latest member
rows and columns

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