Or ... instead of using a gosub as you are taking advantage of 4.12 you can pass the choice ( I would use the Application shell string) as a parameter to a custom UDF and let it run the choosen application, no ?

[ 13. January 2003, 12:25: Message edited by: jpols ]
_________________________