CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2002
    Location
    Colorado
    Posts
    105

    StrLen Function IN VBA

    Hello,

    I am trying to use the instrinsic function "strLen" in a VBA application. But keep getting the error "Sub or Function" not defined. Is there a reference that I have to include to allow this feature to work.


    Thanks,
    Larry
    Last edited by lbargers; July 17th, 2006 at 05:09 PM.

  2. #2
    Join Date
    Nov 2004
    Location
    Lincoln, NE
    Posts
    516

    Re: StrLen Fucntion IN VBA

    strLen is a C function. Use the Len() function instead.

  3. #3
    Join Date
    Mar 2002
    Location
    Colorado
    Posts
    105

    Re: StrLen Fucntion IN VBA

    Worked! Thanks alot.

    Larry

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured