StackOverflow 文件 VBA 教程 遞迴 階乘 階乘 Created: November-22, 2018 Function Factorial(Value As Long) As Long If Value = 0 Or Value = 1 Then Factorial = 1 Else Factorial = Factorial(Value - 1) * Value End If End Function 資料夾遞迴遞迴