I've been trying to get the follwing example to work and it just doesn't seem to be able to handle php variables in some of the excel com function args, like:
/* start entering data into the cells */ for( $i = 0; $i < 10; $i++ ) { $var_i = new Variant($i,VT_I4); echo $i. "<br>"; echo $var_i->value. "<br>"; $cell = $sheet->Cells( $i, 1 ); /* this gags, but */ $cell = $sheet->Cells( 1, 1 ); /* this works fine */ $cell->Activate(); $cell->Value = $i; /* this works */ } Is there something I'm missing or is this really touchy like trying to do automation a few years ago? Jeff. -- Jeff D. Hamann Hamann, Donald & Associates, Inc. PO Box 1421 Corvallis, Oregon USA 97339-1421 Bus. 541-753-7333 Cell. 541-740-5988 [EMAIL PROTECTED] www.hamanndonald.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php