Where is the Instr() function in Excel 2003?

G

Guest

Previous version of MS Excel had string function called Instr() which
returned the numerical position of a substring. I use it quite frequently but
I can't find it in Microsoft Excel 2003. Was it removed? Why?

The Instr() string function is still in Access 2003, so why wouldn't it
still be in Excel 2003.

Terry H
 
S

smw226 via OfficeKB.com

Hi Chem21

Try:

=Find("Find_String","In_String","Start Number")

Thanks,

Simon
 
N

Niek Otten

Hi Terry,

AFAIK, the Instr() function was available in VBA only, and it still is.
Use the FIND() function in a worksheet

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

| Previous version of MS Excel had string function called Instr() which
| returned the numerical position of a substring. I use it quite frequently but
| I can't find it in Microsoft Excel 2003. Was it removed? Why?
|
| The Instr() string function is still in Access 2003, so why wouldn't it
| still be in Excel 2003.
|
| Terry H
 
V

vezerid

Terry,
sometimes the Worksheet functions used in Excel have the same name as
those used in VBA (e.g. MID). Sometimes they have slightly different
names (e.g. RAND in Excel, Rnd in VBA). It can also happen that a
symbol is a function in Excel (MOD(5, 2)) and an operator in VBA (e.g.
5 Mod 2)

VBA Instr is served by FIND() and SEARCH(). They have identical syntax.
FIND is case sensitive and SEARCH is case-insensitive.

Does this help?
Kostis Vezerides
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top