I have a little problem opening a word document on a LAN drive. The code I am using works fine if I am using one of my local drives but gives me this error when I switch to the LAN ("ActiveX component can't create object")

Here is the code:

'Documents.Open (SearchDirectory & "\" & File)'

Searchdirectory is the path and file
is the filename to be opened.


Does anyone have any idea why this wont work on a lan? or what to do to fix it?

By the way....I am using NT

Any help would be greatly appreciated..

Thanks