請問一下, 在一個檢查路徑是否為根目錄的過程中使用
了 Right() 這個函數, 為何會出現 "必須是陣列"的錯誤?
If Right(File1.Path,1) <> "\" Then
ret = File1.Path + "\" + FileName
Else
ret = File1.Path + FileName
End If
arrow
arrow
    全站熱搜

    vbqa 發表在 痞客邦 留言(2) 人氣()