Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
subscript out of range
Whats wrong with the below code? I am getting the error subscript out of
range. Worksheets("Reps Current").Range("H1").Value = "= (Total" & IndxNumber & " - 'On Time " & IndxNumber & "')/ Total" & IndxNumber Todd Huttenstine |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
subscript out of range
The subscript out of range is probably not having a
a worksheet named "Reps Current" spaces have to match exactly you could have spaces at the end, but I don't know what the rest of it is and if it is a formula you probably want .formula = instead of .value = =(Total3 - 'on Time 3')/Total3 -- --- HTH, David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001] My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm Search Page: http://www.mvps.org/dmcritchie/excel/search.htm "Todd Huttenstine" wrote in message ... Whats wrong with the below code? I am getting the error subscript out of range. Worksheets("Reps Current").Range("H1").Value = "= (Total" & IndxNumber & " - 'On Time " & IndxNumber & "')/ Total" & IndxNumber Todd Huttenstine |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Subscript out of Range | Excel Discussion (Misc queries) | |||
Subscript out of range? | Excel Programming | |||
Subscript out of range | Excel Programming | |||
SubScript Out Of Range. | Excel Programming | |||
Subscript Out of Range | Excel Programming |