Dim strSource, strDestination As String
strSource = App.Path & "\Excels\RegisterFee.xls"
strDestination = App.Path & "\Excels\Temp.xls"
FileCopy strSource, strDestination提示错误为 拒绝的权限FileCopy
怎样才能把权限改过来?
strSource = App.Path & "\Excels\RegisterFee.xls"
strDestination = App.Path & "\Excels\Temp.xls"
FileCopy strSource, strDestination提示错误为 拒绝的权限FileCopy
怎样才能把权限改过来?
检查RegisterFee.xls是否打开
strDestination = App.Path & "\Excels\Temp.xls" If Len(Dir(strDestination))>0 Then KillstrDestination FileCopy strSource, strDestination