Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Run Time Error 438
This is the top part of a macro. When it gets to the
Dim rrrRng As Range Dim lowScore As Long Dim playerName As String Set rrrRng = Sheet1("A2:A6") When it gets to this line: Set rrrRng = Sheet1("A2:A6") I get "Run Time Error 438" Any help would be appreciated. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Run Time Error 438
Try this:
Set rrrRng = Sheets("Sheet1").Range("A2:A6") HTH, Paul -- "Mathew" wrote in message ... This is the top part of a macro. When it gets to the Dim rrrRng As Range Dim lowScore As Long Dim playerName As String Set rrrRng = Sheet1("A2:A6") When it gets to this line: Set rrrRng = Sheet1("A2:A6") I get "Run Time Error 438" Any help would be appreciated. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Run Time Error 438
PClive: thanks that did the trick. Simple mistake!
"PCLIVE" wrote: Try this: Set rrrRng = Sheets("Sheet1").Range("A2:A6") HTH, Paul -- "Mathew" wrote in message ... This is the top part of a macro. When it gets to the Dim rrrRng As Range Dim lowScore As Long Dim playerName As String Set rrrRng = Sheet1("A2:A6") When it gets to this line: Set rrrRng = Sheet1("A2:A6") I get "Run Time Error 438" Any help would be appreciated. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
run time error 1004 general odbc error excel 2003 vba | Excel Programming | |||
Run Time Error 1004: Application or Object Defined Error | Excel Programming | |||
Run Time 1004 Error: Application or Object Difine Error | Excel Programming | |||
Conditional Formatting - Run Time Error '13' Type Mismatch Error | Excel Programming | |||
run-time error '1004': Application-defined or object-deifined error | Excel Programming |