>hi,
>
>thank you for reply,
>
>i mean ,the excel sheet found (create before)at "d:\moh\all.xls".
>
>myform at ex.."e:\..."
>
>i want to open "d:\moh\all.xls". via myform make update...
>and when i finished and close it,i want to be at myform at ex.."e:\..."
>
>thanks
>best regards
>m.qasem
Then replace:
lcXLSFile = "c:\temp\myFile.xls"
with:
lcXLSFile = "d:\moh\all.xls"
Cetin