小编Luc*_*ucy的帖子

如何在 VBA 中获得几个月的德语?

我需要我的代码来创建一个以德国月份命名的文件夹:不是 05 March 而是 05 März

Dim strMonth  As String
 strMonth =  Format(Date, "mm")
 ' Check for month folder and create if needed
If Len(Dir("C:\Users\Luca\Desktop\TestDaty\" & client & "\" & Year(Date) & "\" & strMonth & " " & MonthName(Month(Date), False), vbDirectory)) = 0 Then
    MkDir "C:\Users\Luca\Desktop\TestDaty\" & client & "\" & Year(Date) & "\" & strMonth & " " & MonthName(Month(Date), False)
End If
Run Code Online (Sandbox Code Playgroud)

所以也许这里有一些国家代码?MonthName(Month(Date) 请帮帮我!!! :)

excel vba

1
推荐指数
1
解决办法
308
查看次数

标签 统计

excel ×1

vba ×1