Opening Protected EXCEL worksheets to update linked data
The reason may well be that there is no \ at the end of
sPath = " C:\Documents and Settings\Shane\My Documents\Harcourt
Assessments\password"
so you are looking for files called password*.xls in the Harcourt
Assessments folder.
If that is not the problem, it would be helpful if you told us in what
way it failed to work - any messages, any sign of it opening any files
etc.
Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup
|