Hi all,

I'm currently working on a gnumeric plugin.
I wonder if there is a C function which takes the column number
and returns the column name.
I'm currently doing the following:

r = sheet_get_extent (sheet, FALSE);
for (col = r.start.col; col <= r.end.col; col++) {
        GnmCell *cell = sheet_cell_get (sheet, col, 0);
        /* do some checks */
}

The checks which are performed for the cells of the first
row may result in an error message for the user. I don't
like to issue an error message which outputs col but would
rather output the column name like 'A' or 'AB'.

Is there a function to turn col into the name?

  Uwe

-- 
  MMK GmbH, Fleyer Str. 196, 58097 Hagen
  [EMAIL PROTECTED]
  Tel: +2331 840446    Fax: +2331 843920

Attachment: signature.asc
Description: Digital signature

_______________________________________________
gnumeric-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnumeric-list

Reply via email to