Ver Mensaje Individual
  #2  
Antiguo 12-10-2011
Avatar de newtron
[newtron] newtron is offline
Membrillo Premium
 
Registrado: abr 2007
Ubicación: Motril, Granada
Posts: 3.463
Reputación: 21
newtron Va camino a la fama
Hola, a ver si esto te sirve:

Código Delphi [-]
//Formato del número:
//Currency:
Hoja.Cells.Item[Y,X].NumberFormat := '#.##0,00';
//Entero:
Hoja.Cells.Item[Y,X].NumberFormat := '0';
//Tamaño de fuente:
Hoja.Cells.Item[Y,X].Font.size:=20;
//.... y de regalo:
//Fuente en negrita:
Hoja.Cells.Item[Y,X].Font.Bold:=true;
//Subrayado:
Hoja.Cells.Item[Y,X].Font.underline:=True;
//Negrita:
Hoja.Cells.Item[Y,X].Font.Bold:=true;
//Alineación:
Hoja.Cells.Item[Y,X].HorizontalAlignment := xlcenter; // xlright // xlleft

Saludos
__________________
Be water my friend.
Responder Con Cita