This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
instance-id: 60a5a5b4-5c2f-4b7c-ade5-1d07483a2725 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub recreateEdwinForecast(dateDifference As Integer, startRow As String, endRow As String, startDate As String, endDate As String) | |
Sheets("Edwin").Select | |
ActiveWindow.SelectedSheets.Delete | |
Sheets("Main").Select | |
Range("A" & startRow & ":C" & endRow).Select | |
ActiveWorkbook.CreateForecastSheet Timeline:=Sheets("Main").Range("A" & startRow & ":A" & endRow), _ | |
Values:=Sheets("Main").Range("C" & startRow & ":C" & endRow), ForecastEnd:=endDate, ConfInt _ | |
:=0.95, Seasonality:=1, ChartType:=xlForecastChartTypeLine, Aggregation _ | |
:=xlForecastAggregationAverage, DataCompletion:= _ | |
xlForecastDataCompletionInterpolate, ShowStatsTable:=False |
NewerOlder