Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Run-time error '1004,
Select Method of Range class failed. Can anyone tell me why, the code I was using is Sheets("Code").Select Range("B1").Select ####(error is apparently here)#### If ActiveCell = "1" Then GoTo Inputdata End and the cell Code!B1 contains =IF(ISERROR(Data!F1),"1","0") The help, as usual, tells me diddly squat.... Cheers -- Dave -- Dave |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Davey,
Where is your code housed? --- Regards, Norman "DaveyJones" wrote in message ... Run-time error '1004, Select Method of Range class failed. Can anyone tell me why, the code I was using is Sheets("Code").Select Range("B1").Select ####(error is apparently here)#### If ActiveCell = "1" Then GoTo Inputdata End and the cell Code!B1 contains =IF(ISERROR(Data!F1),"1","0") The help, as usual, tells me diddly squat.... Cheers -- Dave -- Dave |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Yeah, I've just figured that one out myself, it's in a different worksheet.
If you type a GoTo command for a subroutine in one worksheet, does it look in another worksheet for it, cos I want all this to run in one go. -- Dave "Norman Jones" wrote: Hi Davey, Where is your code housed? --- Regards, Norman "DaveyJones" wrote in message ... Run-time error '1004, Select Method of Range class failed. Can anyone tell me why, the code I was using is Sheets("Code").Select Range("B1").Select ####(error is apparently here)#### If ActiveCell = "1" Then GoTo Inputdata End and the cell Code!B1 contains =IF(ISERROR(Data!F1),"1","0") The help, as usual, tells me diddly squat.... Cheers -- Dave -- Dave |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Davey,
Try moving your code to a Standard module. Normally, a sheet module shoould only house worksheet event procedures. --- Regards, Norman "DaveyJones" wrote in message ... Yeah, I've just figured that one out myself, it's in a different worksheet. If you type a GoTo command for a subroutine in one worksheet, does it look in another worksheet for it, cos I want all this to run in one go. -- Dave "Norman Jones" wrote: Hi Davey, Where is your code housed? --- Regards, Norman "DaveyJones" wrote in message ... Run-time error '1004, Select Method of Range class failed. Can anyone tell me why, the code I was using is Sheets("Code").Select Range("B1").Select ####(error is apparently here)#### If ActiveCell = "1" Then GoTo Inputdata End and the cell Code!B1 contains =IF(ISERROR(Data!F1),"1","0") The help, as usual, tells me diddly squat.... Cheers -- Dave -- Dave |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Run-time error 1004 - General ODBC Error | Excel Programming | |||
run-time error '1004': Application-defined or object-deifined error | Excel Programming | |||
Run time error '1004': Generaol ODBC error | Excel Programming | |||
Run time error 1004 General ODCB Error | Excel Programming | |||
Application Run Time Error 1004 and Stack Error | Excel Programming |