Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Error 13
Hi! I have quite a big code that calls other programs and reads and posts
data. I have not written all of the code, which is a problem. At the moment I get Error 13 at a place. Can someone give me clue of what Error 13 might mean in this context? Any help appreciated! Thanks 'start the bat file lTaskID = RunBatFile 'get the process handle hProc = OpenProcess(ACCESS_TYPE, False, lTaskID) If Err < 0 Then MsgBox Err Exit Sub End If |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Error 13
hi
wild guessing here because you really haven't supplied enough info. but error 13....type mismatch. this usually occurs when you have messed up your data types.(dims usually) and are trying to do something that don't work ie add a letter(string) to a number(long) or something similar. you have some unidentfied stuff in your code like ItaskID and RunBatFile. what are thoses? go back and check your dims and data types and make sure that you are not trying to matching different data types. my thoughts regards FSt1 "Arne Hegefors" wrote: Hi! I have quite a big code that calls other programs and reads and posts data. I have not written all of the code, which is a problem. At the moment I get Error 13 at a place. Can someone give me clue of what Error 13 might mean in this context? Any help appreciated! Thanks 'start the bat file lTaskID = RunBatFile 'get the process handle hProc = OpenProcess(ACCESS_TYPE, False, lTaskID) If Err < 0 Then MsgBox Err Exit Sub End If |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Counting instances of found text (Excel error? Or user error?) | Excel Worksheet Functions | |||
Error Handling - On Error GoTo doesn't trap error successfully | Excel Programming | |||
Form Err.Raise error not trapped by entry procedure error handler | Excel Programming | |||
Automation Error, Unknown Error. Error value - 440 | Excel Programming |