+ Reply to Thread
Results 1 to 3 of 3

How to use Excel Functions in VBA?

  1. #1
    Registered User
    Join Date
    12-16-2005
    Posts
    14

    Exclamation How to use Excel Functions in VBA?

    Hi there

    While using Excel Search Function in VBA programming, I got
    "Sub or Function not defined!!" Error...

    But need to use the Search funtion..
    So please tell me how to use it?

    Thanks in advance
    john best

  2. #2
    Kris
    Guest

    Re: How to use Excel Functions in VBA?

    johnbest wrote:
    > Hi there
    >
    > While using *Excel Search Function* in VBA programming, I got
    > "*Sub or Function not defined!!*" Error...
    >
    > But need to use the Search funtion..
    > So please tell me how to use it?
    >
    > Thanks in advance
    > john best
    >
    >


    Application.WorksheetFunction.Search


  3. #3
    Dave Peterson
    Guest

    Re: How to use Excel Functions in VBA?

    do you mean the worksheet function =search()?

    If you do, then you may want to read about VBA's InStr() function. It's
    built-in and works pretty much the same.

    johnbest wrote:
    >
    > Hi there
    >
    > While using *Excel Search Function* in VBA programming, I got
    > "*Sub or Function not defined!!*" Error...
    >
    > But need to use the Search funtion..
    > So please tell me how to use it?
    >
    > Thanks in advance
    > john best
    >
    > --
    > johnbest
    > ------------------------------------------------------------------------
    > johnbest's Profile: http://www.excelforum.com/member.php...o&userid=29694
    > View this thread: http://www.excelforum.com/showthread...hreadid=496043


    --

    Dave Peterson

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1