You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ws.SetValue("A1",50);//FillNumber with no parameters will fill the range using the value in the top-left cell as start value and increment it by 1 for each cell in the column. If the range has multiple columns the first value in the column will be used as start value.ws.Cells["A1:A20"].FillNumber();
You can add a number of parameters to this method like initial value, increment and more.
Here are a few samples:
//Fill with a start value of 30 and decrease by 2.ws.Cells["B1:B20"].FillNumber(30,-2);