Take a look at
Open any document FAQ #8134
>
>how i can open any excel sheet,word document,text,xml via command button as
>getdir()
>getfile()
>if i choice any excel sheet, or word document via click or keypres
>i can open it as it is,if i exit i return to myform at the same path.
>
>thanks.
--sb--