Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Instr return the position of the character from the beginning of the string,
not relative to where you start. NickHK "Norm Lundquist" ... Here's an easy one that I can't see! Why does InStr(4,"XXpXXpXXPXXP","P",vbTextCompare) return 6 and Instr(5,"ABC-123-XYZ","-",vbTextCompare) return 8??? I thought the second one would return 4 because the second dash is the fourth character when you start search at position 5. THANKS! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
InStr Function Question | Excel Programming | |||
InStr | Excel Programming | |||
InStr | Excel Programming | |||
InStr function question | Excel Programming | |||
InStr and ADO | Excel Programming |