Hi, Try :
Private Sub CommandButton1_Click() Dim rg As Range If [B5].HasFormula Then Exit Sub Dim inCalculationMode As Integer Application.ScreenUpdating = False inCalculationMode = Application.Calculation Application.Calculation = xlCalculationManual Set rg = Range([B5], Cells(Rows.Count, 2).End(xlUp)) rg.FormulaR1C1 = "=24400*RC7/RC6" rg.Offset(, 1).FormulaR1C1 = "=690.9*RC7/RC6" rg.Offset(, 2).FormulaR1C1 = "=300*RC7/RC6" rg.Offset(, 3).FormulaR1C1 = "=1000*RC7/RC6" Application.Calculation = inCalculationMode Application.ScreenUpdating = True End Sub HTH Daniel De : excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] De la part de N.Shivkumar Envoyé : dimanche 17 avril 2011 09:01 À : excel-macros@googlegroups.com Objet : $$Excel-Macros$$ Help with micro Dear friends Please find enclosed attached file. Request for a solution for the same Bye N.SHIVKUMAR Mobile : +919422613567 Office : +912332301775 Alternate Email: shiv1...@yahoo.com Please consider the environment before printing this email. -- ---------------------------------------------------------------------------- ------ Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at <http://exceldailytip.blogspot.com> http://exceldailytip.blogspot.com To post to this group, send email to <mailto:excel-macros@googlegroups.com> excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link <http://www.facebook.com/discussexcel> http://www.facebook.com/discussexcel -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel