It seems the following needs to be changed from:

Use F: "\\\\Server\Department$\\Finance"

To:
Use F: "\\Server\Department$\Finance"

You may also need to use NOVARS in your header..

Also, it is considered poor practice to map a drive through an Admin Share: "$" (unless all of your users are Domain Admins).

HTH,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's