Nadya,
Once the file is opened, you can search for the required function and use the position in the file to go to the correct function. You may have to set a pattern of characters that determines when a function starts. For example the lines before and after a function might always be:
Function Func1()
Return lRetVal
You can loop through the PRG file finding each function and matching the name with a variable passed in with the Edit button easily.
HTH
Barbara
>Barbara,
>
>Yes, I know about this. But my question is: how can I programatically open Procedure file on the specific function? Without these additional steps...
>Is it doable?
>
>TIA