Stevan,

>I know how to delete string in cells. I need code how to
> get one or more existing number(s) from one row which has
> less then 4 empty cells, and put in a row where are more
> that 4 empty cells. At the end in every row must be 4 empty cells,
> 24 in all 6 rows.

Why must you solve the problem in this manner?  Rather, do it like Vahan 
suggested already -- Just blank them in the way you want them distributed in 
the first place instead of just randomly blanking 24 cells and then trying 
to fix it afterwards.

// for example, something like this
for currentrow := 1 to 6 do
  for blankcellcount := 1 to 4 do
     pick a cell no. between 1 and 15 for which the corresponding cell in 
row currentrow is not already blank and blank it

Cheers

Walter




-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to