1. 用一个API判断文件是否已存在:SHFileExists
commonDialog.showsave
if shfileexists(commonDialog.filename)=1 then 
msgbox "文件已存在",,"错误"
Exit Sub
end if
2.不懂^^