Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
To all,
I have the following code: If JobNumber = Val(field(7)) Then It looks at field (7) which is typically a 5 digit number i.e. 36238 If JobNumber = 36238 then it will continue the script. however in some cases the value in field (7) is 36238 OP1 or 36238/2 etc. How can I get it to search just the first 5 digits i.e 36238 of the field (7) value, and enable the script to continue, rather than returning nothing as it does at the moment? Thanks in advance for your help, regards Joseph Crabtree |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Split Field content in Query? | Excel Programming | |||
can't change field name in query? | Links and Linking in Excel | |||
How do I create a query field in Excel | Excel Discussion (Misc queries) | |||
query field | Excel Programming | |||
DAO query/recordset returns with field names | Excel Programming |