Wraptext and BorderTopStyle
Posted: Mon Dec 01, 2014 3:45 pm
Hi
Changed all old code to cmdFormat code except:
How can i do this using cmdFormat. Could not find it in example
Eric
Changed all old code to cmdFormat code except:
Code: Select all
R := FSheet.Range.Items[FFirstColumn + i, FCurrentRow, FFirstColumn + i, FCurrentRow];
R.WrapText := True;
R.VertAlignment := cvaTop;
R := FSheet.Range.Items[FFirstColumn + i, FCurrentRow, FFirstColumn + i, FCurrentRow];
R.BorderTopStyle := cbsThin;
R.BorderTopColor := clBlack;
Eric