dim i as long with msflexgrid for i = .rows -1 to .fixrows step -1 select case len(.textmatrix(i,1)) case 0 .textmatrix(i,1) = i case else end select next end with
dim a() as string dim szsy as as integer with MSflexGrid szsy=1 .rows 'MSF总的行数 for i=0 to .rows if trim$(.TextMatrix(i,1))<>"" then redim a(szsy) a(i)=.textmartrix(i,1) szsy=szsy+1 else .textmartrix(i,1)=trim$(.textmatrix(i,0)) end if next
with msflexgrid
for i = .rows -1 to .fixrows step -1
select case len(.textmatrix(i,1))
case 0
.textmatrix(i,1) = i
case else
end select
next
end with
dim szsy as as integer
with MSflexGrid
szsy=1
.rows 'MSF总的行数
for i=0 to .rows
if trim$(.TextMatrix(i,1))<>"" then
redim a(szsy)
a(i)=.textmartrix(i,1)
szsy=szsy+1
else
.textmartrix(i,1)=trim$(.textmatrix(i,0))
end if
next