Hi. I need to read a file, based on latest date. Using VBA. I really don't know how to do since before this I only put exact name of the filename.
I know how to do it using vb.net, I do like this,
I really need to know how to read it using vba.
Thanks all.
Ps: I am beginner to macro.
I know how to do it using vb.net, I do like this,
Code:
Dim stamp As String =
DateTime.Now.ToString("yyyyMMdd", CultureInfo.InvariantCulture)
Dim TEXTfylname As String = "MB52_" & stamp & ".xlsx"
Dim txtfile As String = localPath & TEXTfylname
I really need to know how to read it using vba.
Thanks all.
Ps: I am beginner to macro.