chilo27
XLDnaute Occasionnel
Bonjour le Forum
J'ai besoin de l'aide pour simplifier une macro
(trop de lignes et je ne parviens pas à résoudre le problème)
Le 150 c'est pour pour marquer la ligne
Range("M7").Select
ActiveCell.FormulaR1C1 = "150"
Range("M348").Select
ActiveCell.FormulaR1C1 = "150"
Range("M684").Select
ActiveCell.FormulaR1C1 = "150"
Range("M1020").Select
ActiveCell.FormulaR1C1 = "150"
Range("M3036").Select
ActiveCell.FormulaR1C1 = "150"
Range("M3372").Select
ActiveCell.FormulaR1C1 = "150"
Range("D3456").Select
ActiveCell.FormulaR1C1 = "150"
Range("M4044").Select
ActiveCell.FormulaR1C1 = "150"
Range("L4128").Select
ActiveCell.FormulaR1C1 = "150"
Range("M6390").Select
ActiveCell.FormulaR1C1 = "150"
Range("M6732").Select
ActiveCell.FormulaR1C1 = "150"
Range("M7068").Select
ActiveCell.FormulaR1C1 = "150"
Range("M7146").Select
ActiveCell.FormulaR1C1 = "150"
Range("M9168").Select
ActiveCell.FormulaR1C1 = "150"
Range("L9504").Select
ActiveCell.FormulaR1C1 = "150"
Range("M10086").Select
ActiveCell.FormulaR1C1 = "150"
Range("M10176").Select
ActiveCell.FormulaR1C1 = "150"
Range("M12186").Select
ActiveCell.FormulaR1C1 = "150"
Range("M12780").Select
ActiveCell.FormulaR1C1 = "150"
Range("M154445").Select
ActiveCell.FormulaR1C1 = "150"
Range("A1").Select
En vous remerciant
par avance
J'ai besoin de l'aide pour simplifier une macro
(trop de lignes et je ne parviens pas à résoudre le problème)
Le 150 c'est pour pour marquer la ligne
Range("M7").Select
ActiveCell.FormulaR1C1 = "150"
Range("M348").Select
ActiveCell.FormulaR1C1 = "150"
Range("M684").Select
ActiveCell.FormulaR1C1 = "150"
Range("M1020").Select
ActiveCell.FormulaR1C1 = "150"
Range("M3036").Select
ActiveCell.FormulaR1C1 = "150"
Range("M3372").Select
ActiveCell.FormulaR1C1 = "150"
Range("D3456").Select
ActiveCell.FormulaR1C1 = "150"
Range("M4044").Select
ActiveCell.FormulaR1C1 = "150"
Range("L4128").Select
ActiveCell.FormulaR1C1 = "150"
Range("M6390").Select
ActiveCell.FormulaR1C1 = "150"
Range("M6732").Select
ActiveCell.FormulaR1C1 = "150"
Range("M7068").Select
ActiveCell.FormulaR1C1 = "150"
Range("M7146").Select
ActiveCell.FormulaR1C1 = "150"
Range("M9168").Select
ActiveCell.FormulaR1C1 = "150"
Range("L9504").Select
ActiveCell.FormulaR1C1 = "150"
Range("M10086").Select
ActiveCell.FormulaR1C1 = "150"
Range("M10176").Select
ActiveCell.FormulaR1C1 = "150"
Range("M12186").Select
ActiveCell.FormulaR1C1 = "150"
Range("M12780").Select
ActiveCell.FormulaR1C1 = "150"
Range("M154445").Select
ActiveCell.FormulaR1C1 = "150"
Range("A1").Select
En vous remerciant
par avance