Hello everyone,
This is probably a stupid question, but is there a faster way of using this macro? i mean it takes about 2 seconds before it has complete but the worst bit is having to watch it skip through all of the pages and ending on the wrong page i started on. if anybody could change this code it will be hugely appreciated!
Thanks
This is probably a stupid question, but is there a faster way of using this macro? i mean it takes about 2 seconds before it has complete but the worst bit is having to watch it skip through all of the pages and ending on the wrong page i started on. if anybody could change this code it will be hugely appreciated!
Code:
Sub deletealldata()
'
' deletealldata Macro
'
'
Range("H13").Select
ActiveCell.FormulaR1C1 = "0"
Range("H23").Select
ActiveCell.FormulaR1C1 = "0"
Range("H33").Select
ActiveCell.FormulaR1C1 = "0"
Range("H44").Select
ActiveCell.FormulaR1C1 = "0"
Range("H55").Select
ActiveCell.FormulaR1C1 = "0"
Sheets("Step3").Select
Range("H12").Select
ActiveCell.FormulaR1C1 = "0"
Range("H21").Select
ActiveCell.FormulaR1C1 = "0"
Range("H29").Select
ActiveCell.FormulaR1C1 = "0"
Range("H38").Select
ActiveCell.FormulaR1C1 = "0"
Range("H48").Select
ActiveCell.FormulaR1C1 = "0"
Sheets("Step2").Select
Range("H12").Select
ActiveCell.FormulaR1C1 = "0"
Range("H21").Select
ActiveCell.FormulaR1C1 = "0"
Range("H31").Select
ActiveCell.FormulaR1C1 = "0"
Range("H42").Select
ActiveCell.FormulaR1C1 = "0"
Range("H53").Select
ActiveCell.FormulaR1C1 = "0"
Sheets("Step1").Select
Range("H12").Select
ActiveCell.FormulaR1C1 = "0"
Range("H22").Select
ActiveCell.FormulaR1C1 = "0"
Range("H32").Select
ActiveCell.FormulaR1C1 = "0"
Range("H43").Select
ActiveCell.FormulaR1C1 = "0"
Range("H57").Select
ActiveCell.FormulaR1C1 = "0"
Range("G13").Select
End Sub
Thanks