>Try oleExcel.Application.DefaultFilePath property - Returns or sets the default path that Microsoft Excel uses when it opens files.
>
Nigel,
Don't worked. I got invalid number of parameters, I tried:
oleExcel.Application.DefaultFilePath(cmypath)
and
oleExcel.Application.DefaultFilePath("k:\conta\excel")
This worked like:
cdefaultpath = oleExcel.Application.DefaultFilePath
An I get the default path from what Excel runs. But I need to set the active path.
Where do I get more info of these Excel functions?
Thanks.