moushumi,
Just loop through your recordset,adding a cell and and its content to a table row with each record. Set up a counting variable to count the number of cells written, then when it reached the number of columns required (3) close the table row, open a new one and reset the counter.
The code is very easy and to provide it for you would be doing your homework, so have a go at it and post any questions to problems you encounter as new questions.
Also only post them in one forum.
======================================
They say, best men are moulded out of faults,
And, for the most, become much more the better
For being a little bad.
======================================
|