Li Chen wrote: > Paul Lutus wrote: > >> You should be able to create an abbreviated version of your program that >> simply creates and displays the problem array. That would allow an easy >> analysis and fix. > > Hi Paul, > > I run your codes and it works fine. Does it produce a result that is different than your own code, when used with 'pp'? Does it solve your problem? > And here is my codes with the problem: What is the problem at this point? What is 'pp'? How do you export your data to Excel? What happens if you adopt my method instead of your own? -- Paul Lutus http://www.arachnoid.com