ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   instr() ? (https://www.excelbanter.com/excel-programming/377519-instr.html)

mark kubicki

instr() ?
 
is there an XL or XL/VBA equivalent of the function: INSTR() which returns
the first occurrence of a character within a string?

I've used it in ACCESS/VBA, but can't seem to find it in Excel

thanks in advance,
mark



Don Guillett

instr() ?
 
look in vba help index for INSTR

--
Don Guillett
SalesAid Software

"mark kubicki" wrote in message
...
is there an XL or XL/VBA equivalent of the function: INSTR() which returns
the first occurrence of a character within a string?

I've used it in ACCESS/VBA, but can't seem to find it in Excel

thanks in advance,
mark




Jim Thomlinson

instr() ?
 
In XL there are Find (Case Sensitive) and Search (Not Case Sensitive)... In
VBA you can use InStr...
--
HTH...

Jim Thomlinson


"mark kubicki" wrote:

is there an XL or XL/VBA equivalent of the function: INSTR() which returns
the first occurrence of a character within a string?

I've used it in ACCESS/VBA, but can't seem to find it in Excel

thanks in advance,
mark




Gary''s Student

instr() ?
 
=FIND()

the worksheet function
--
Gary's Student


"mark kubicki" wrote:

is there an XL or XL/VBA equivalent of the function: INSTR() which returns
the first occurrence of a character within a string?

I've used it in ACCESS/VBA, but can't seem to find it in Excel

thanks in advance,
mark





All times are GMT +1. The time now is 03:07 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com