PHV, after trying a few options, including kernel32.dll, I finally found that UNCs actually DO work with Dir()!
It seems that it will work provided the UNC is Shared. Also, a trailing backslash must be used. eg
Dir("\\he-data") - Fails, err 52
Dir("\\he-data\") - Fails, err 52
Dir("\\he-data\hugen data") - Fails, err 52
Dir("\\he-data\hugen data\") - Succeeds
('hugen data' is a shared folder on \\he-data)
Max Hugen
Australia