Home > Back-end >  What statement ColRowNumToStr this function need
What statement ColRowNumToStr this function need

Time:09-25

Use dephi7 reading excel files, online a lot of the code have the function, the runtime tips statement,
Want to ask ColRowNumToStr this function is what kind of statement?

CodePudding user response:

It is downloading, the original author, not posted, it is retained, I understand is to 0.. 255 0.. N into EXCEL the ranks of the characters (such as: A1)

 function ColRowNumToStr (J, I: integer) : string; 
The begin
.
end;


CodePudding user response:

Function is to write their own, have the function content, oneself write a function definition

CodePudding user response:

ExcelApp. ActiveSheet. Columns [I + 1] ColumnWidth:=10;//set the column width
If I=0 then
ExcelApp. ActiveSheet. Columns [I + 1] NumberFormat:='@'
The else
ExcelApp. ActiveSheet. Columns [I + 1] NumberFormat:='0.00';
Excelapp. Cells [3, I + 1] HorizontalAlignment:=$FFFFEFF4;//horizontal center
  • Related