>I seem to have a problem automating Excel. What i want is to select the first row in a range and make it bold.
>
>I know this is simple, but everything I have tried thus far does not work. By the way, the number of columns vary, so I want to select the entire range and make it bold.
>
>Best,
>
>James
assuming _firstcell_ is the address of the first cell and oxl is Excel, you could try:
oselection = oxl.range(_firstcell_).currentregion.rows(1).select
oselection.font.bold = .t.
there must be a zillion other ways, but this one I've checked :)
If things have the tendency to go your way, do not worry. It won't last. Jules Renard.