Nelson78
Well-known Member
- Joined
- Sep 11, 2017
- Messages
- 525
- Office Version
- 2007
Hello everybody, I've the following piece of code:
Something goes wrong about the comparison with Fl.DateCreated and Date: despite of Fl has been created today, it doesn't open.
Any ideas?
Thank's.
VBA Code:
If Format(Fl.DateCreated, "dd/mm/yyyy") = Date Then
Workbooks.Open Filename:=Fl
Something goes wrong about the comparison with Fl.DateCreated and Date: despite of Fl has been created today, it doesn't open.
Any ideas?
Thank's.