Академический Документы
Профессиональный Документы
Культура Документы
Sheets("Compte de résultat").Select
'Charges d'exploitation
Range("B11").Select
ActiveCell.FormulaR1C1 = "=SUM(R[-6]C:R[-1]C)"
Range("C11").Select
Range("C11").FormulaR1C1 = "=SUM(R[-6]C:R[-1]C)"
'Produits d'exploitation
Range("B15").Select
ActiveCell.FormulaR1C1 = "=SUM(R[-2]C:R[-1]C)"
Range("B15").Select
Selection.AutoFill Destination:=Range("B15:F15"), Type:=xlFillDefault
'Résultat d'exploitation
Range("B16").Select
ActiveCell.FormulaR1C1 = "=(R[-1]C-R[-4]C)"
Range("B16").Select
Selection.AutoFill Destination:=Range("B16:F16"), Type:=xlFillDefault
'Résultat financier
Range("B19").Select
ActiveCell.FormulaR1C1 = "=(R[-2]C-R[-1]C)"
Range("B19").Select
Selection.AutoFill Destination:=Range("B19:F19"), Type:=xlFillDefault
'Mise en gras
Range("B11:F11").font.bold = true
Range("B15:F15").font.bold = true
Range("B16:F16").font.bold = true
Range("B19:F19").font.bold = true
Range("B21:F21").font.bold = true