VBA hapus hapus karakter nama file ileagal
Private Function ValidWBName(Arg As String) As String
Dim RegEx As Object
Set RegEx = CreateObject("VBScript.RegExp")
With RegEx
.Pattern = "[\\/:\*\?""<>\|]"
.Global = True
ValidWBName = .Replace(Arg, "")
End With
End Function
Braxton Bell