Hi
I Named a cell range in Excel sheet using the Name command as follows:
Now when I try to use the named ranges to do some calculations Excel throws up error
error 1004
method 'range' of Object'global' failed
is there some thing else that I need to do.
please help
thanx
pdp2907
I Named a cell range in Excel sheet using the Name command as follows:
Code:
Names.Add Name:="Augdelta120", RefersTo:="Sheet1!$B$6:$M$6"
Names.Add Name:="julydelta500", RefersTo:="=Sheet18!$B$5:$M$5"
For i = 1 To Augdelta120.Columns.Count
Augdelta120.Offset(10, 10) = ((julydelta500.Cells(j, k).Value) - (Augdelta120.Cells(j, k).Value)) / (julydelta500.Cells(j, k).Value)
Next i
error 1004
method 'range' of Object'global' failed
is there some thing else that I need to do.
please help
thanx
pdp2907