Oh, and be careful about using what might be Excel/VBA reserved words. Hence, sFileName instead of just FileName, etc