Quelques mots de remerciements seront grandement appréciés. Ajouter un commentaire
70052 internautes nous ont dit merci ce mois-ci
Sub Etiquette() Dim Prix As Currency Dim Libelle As String Libelle = "Boite de conserve" Prix = 10.56 With Range("A1") .Value = Libelle & Chr(10) & Prix With .Characters(Start:=Len(Libelle) + 2).Font .Size = 18 .Bold = True End With End With End Sub
With ActiveSheet.PageSetup .Zoom = 200 End With ActiveWindow.SelectedSheets.PrintOut
.Value = Libelle & Chr(10) & Prix With .Characters(Start:=Len(Libelle) + 2).Font .Size = 12 .Bold = True End With
Private Sub CommandButton1_Click() Dim s As Long s = Range("A2").Font.Size Range("A2").Font.Size = 2 * s 'par exemple MsgBox ("on imprime") ' tu lances ton code d'impression Range("a2").Font.Size = s End Sub