I have a series of irregularly spaced data for which I need to fill in daily data. The data are recorded anywhere from every 1 to 3 weeks and the filled in data should be a linear series between the two data points. The macro below is what I recorded. How do I get the step value to vary to reflect the differing beginning and end values? A sample portion of the data is attached.
Thanks!
Sub Macro6()
Range(Selection, Selection.End(xlDown)).Select
Selection.DataSeries Rowcol:=xlColumns, Type:=xlLinear, Date:=xlDay, _
Step:=-1.99999999999984E-03, Trend:=False
Selection.End(xlDown).Select
Range(Selection, Selection.End(xlDown)).Select
End Sub