jamescooper
Well-known Member
- Joined
- Sep 8, 2014
- Messages
- 840
My coding is going to Call Forecast_Day_3 when I want it once it has tested the file is there (which it is), to go to Else...Any ideas what is wrong here?
Many thanks.
Many thanks.
Code:
Sub Forecast_Day_2()
Dim destcell As Range, r As Long
Dim fileSpec As String, folderPath As String, fileName As String
Dim FilePath As String
Dim TestStr As String
cellvalue2 = Workbooks("Forecast Template.xlsx").Sheets("Revenue").Range("U12")
dow2 = Workbooks("Forecast Template.xlsx").Sheets("Revenue").Range("V12")
myvalue3 = 1802
FilePath = FD & "Revenue\" & myvalue3 & "\" & cellvalue2
TestStr = ""
On Error Resume Next
TestStr = Dir(FilePath)
On Error GoTo 0
If TestStr = "" Then
Call Forecast_Day_3
Else