none
Outlook VBA Trouble RRS feed

  • Question

  • Hi, I do not know which forum is the most appropriate one

    However I am writing a macro in Outlook and I want to use the istr function

    I am trying to declare it as found on this website:

    Public Shared Function InStr(_

       ByVal String1 As String, _

       ByVal String2 As String, _

       ) As Integer

    but in does not work saying that identifier is expected at function level. If I do not declare instr function it does not recognize it. Please help me correct issue,

    thank youi

    Friday, August 19, 2016 4:29 PM

Answers