hi, why doesn't this work........thanks
Excel Workbook | |||
---|---|---|---|
A | |||
1 | |||
2 | |||
3 | |||
4 | |||
5 | |||
6 | |||
Sheet1 |
Excel Workbook | |||
---|---|---|---|
A | |||
1 | 25 | ||
2 | 25 | ||
3 | 25 | ||
4 | 25 | ||
5 | 25 | ||
6 | |||
Sheet1 |
Option Explicit
Private Sub Worksheet_Calculate()
' hiker95, 09/13/2011
' http://www.mrexcel.com/forum/showthread.php?t=578637
Dim a As Long
Dim x As Long
a = 25
For x = 1 To 5
Range("A" & x) = a
Next x
End Sub
Option Explicit
Private Sub Worksheet_Calculate()
' hiker95, 09/13/2011
' http://www.mrexcel.com/forum/showthread.php?t=578637
Range("A1:A5") = 25
End Sub