Hello All,
I have a problem that I do not how to solve. I would like to open the latest date with a file that contains the work document. There will be several files with the name document, i.e document(1), document(2) ...
Today I use this code:
myPath = ThisWorkbook.Path & "\"
fname = Dir(myPath & "Kollektiv*")
If fname <> "" Then
Set wb = Workbooks.Open(myPath & fname)
End If
/L
I have a problem that I do not how to solve. I would like to open the latest date with a file that contains the work document. There will be several files with the name document, i.e document(1), document(2) ...
Today I use this code:
myPath = ThisWorkbook.Path & "\"
fname = Dir(myPath & "Kollektiv*")
If fname <> "" Then
Set wb = Workbooks.Open(myPath & fname)
End If
/L