Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by JerryKing

  1. JerryKing

    VLookup function problem: type mismatch

    A new problem comes up when the first argument of vLookup function is not in the table. e.g. if I put "2000" as the first argument for the above vLookup function, the error "type mismatch" comes up again. But in my opinion, the return value should be "#N/A" if there is no exact match. Prost, do...
  2. JerryKing

    VLookup function problem: type mismatch

    Prost, thank you very much. Seems that the second argument of VLookup method should include the range of the value to return, i.e. the 3rd column. :)
  3. JerryKing

    VLookup function problem: type mismatch

    What’s wrong with the VLookup function my following VBscript codes? The error remind me “type mismatch”. function searchTimeById(OpId) Dim objExcel, excelPath, strData, Set objExcel = CreateObject("Excel.Application") excelPath = "Z:\OpLibrary.xls" objExcel.Workbooks.open...
  4. JerryKing

    global variables for function arguments and return value in VB scripts

    The purpose of my program is to realize the expert reasoning through a sequence of dialogs interacting with a user. All the user inputs of reasoning procedure need to be recorded for future enquiry in a database. The architecture of the reasoning procedure is like a pyramid, from top to bottom...

Part and Inventory Search