Set f = fso.OpenTextFile("c:\Temp\email.txt", ForReading)<<<< change this to c:\users\%Username%\temp\Email.txt
1. You used the pipe char | not the backslash \

2. Try fso.OpenTextFile (ENVIRON("USERPROFILE") & "\temp\email.txt")