vba 修改文件名能否使用通配符? 50
如下代码,日期”2015_9_1“如何使用通配符代替?Sub重命名()DimOldNameAsString,NewNameAsStringDimFolderPathAsS...
如下代码,日期”2015_9_1“如何使用通配符代替?
Sub 重命名()
Dim OldName As String, NewName As String
Dim FolderPath As String
OldName = FolderPath & "留存用户2015_9_1.csv"
NewName = FolderPath & "留存用户.csv"
Name OldName As NewName
End Sub 展开
Sub 重命名()
Dim OldName As String, NewName As String
Dim FolderPath As String
OldName = FolderPath & "留存用户2015_9_1.csv"
NewName = FolderPath & "留存用户.csv"
Name OldName As NewName
End Sub 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询