#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default 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


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default 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



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default 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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
InStr function AshGrant Excel Programming 7 July 28th 06 10:25 AM
InStr Function zoot Excel Programming 1 June 5th 06 03:53 AM
InStr Harley Excel Programming 3 August 9th 05 08:55 PM
InStr FGM Excel Programming 3 July 14th 05 08:47 PM
InStr and ADO Al Excel Programming 2 June 17th 04 04:22 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"