$ 0 0 Does that folder exist? Does that file exist? Any reason your user (or the user you are running Excel under if you are doing runas) wouldn't have permissions to create a folder or file?