void setRangeBorder(COM _comRange, int _type = 1) { Com com; ; com = _comRange.Borders(); com.LineStyle(_type); }