3.5.1.7.7 Font

The font(name) function returns a number corresponding to the font list index of the font specified by name.

int nn = font(some junk);
nn=; // should give 0 as font name given is not valid
nn = font(Arial);
nn=; // should be a >=1 value

// set current worksheet "standard" font
wks.font=font(Courier New);