And how does it work?

Re: Is there a substring function in ppt vba? by Chirag

Chirag
Thu May 08 14:18:09 CDT 2008

InStr(<Start offset in string>, <string>, <substring>)
returns 0 if substring not found in string. otherwise returns the offset
(which is >= Start offset in string).

InStrRev() is the same but searches from the end.

- Chirag

PowerShow - View multiple PowerPoint slide shows simultaneously
http://officeone.mvps.org/powershow/powershow.html

"Lily" <Lily@discussions.microsoft.com> wrote in message
news:084A1901-F7C4-4E27-8439-85AD21E95F95@microsoft.com...
> And how does it work?


Re: Is there a substring function in ppt vba? by Steve

Steve
Thu May 08 16:03:26 CDT 2008

In article <084A1901-F7C4-4E27-8439-85AD21E95F95@microsoft.com>, Lily wrote:
> And how does it work?

Other than the specific features that refer to the PowerPoint object model, PPT
VBA is the same as any other VBA and the same as Visual Basic in most respects.

Mid$, Instr, Left$, Right$ all work the same as in other VB/VBA dialects.

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================