Re: Compile error when using the Mid,Left and right function in VB code [Multipost]
From: Veign (NOSPAMinveign_at_veign.com)
Date: 05/05/04
- Next message: Jeff Johnson [MVP: VB]: "Re: Compile error when using the Mid,Left and right function in VB code"
- Previous message: John in St Louis: "Re: Compile error when using the Mid,Left and right function in VB code"
- In reply to: John in St Louis: "Compile error when using the Mid,Left and right function in VB code"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 5 May 2004 11:49:29 -0400
[Multipost]
-- Chris Hanscom MVP (Visual Basic) http://www.veign.com -- "John in St Louis" <jminnich@energypetro.com> wrote in message news:AA52DEAA-F243-43D5-9034-8E78E436CE98@microsoft.com... > I have written a business application that uses the following IF statement: > > If Val(Mid(myTab, 5, 2)) = 2 Then > > However, not all the time but, sometimes the program bombs due to a compile error that highlights the "MID" function and indicates "Can't find project or library". I can highlight Mid and press "F1" and VB help opens the Mid function properly and there appears there is no problem but I can't fix the compilation error. The VB 6.0 macro is running from an Excel 2000 workbook. I have also tried to add all relevant reference libraries but still have found no solution. > > If anyone has a solution to this problem, please email me. Thanks > > John in St. Louis
- Next message: Jeff Johnson [MVP: VB]: "Re: Compile error when using the Mid,Left and right function in VB code"
- Previous message: John in St Louis: "Re: Compile error when using the Mid,Left and right function in VB code"
- In reply to: John in St Louis: "Compile error when using the Mid,Left and right function in VB code"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|