Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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 bes

--
johnbes
-----------------------------------------------------------------------
johnbest's Profile: http://www.excelforum.com/member.php...fo&userid=2969
View this thread: http://www.excelforum.com/showthread.php?threadid=49604

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

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
How to convert cell formula functions to code functions Adnan Excel Discussion (Misc queries) 1 October 1st 08 08:30 PM
efficiency: database functions vs. math functions vs. array formula nickname Excel Discussion (Misc queries) 2 July 14th 06 04:26 AM
Nesting functions in the functions dialog box cs170a Excel Worksheet Functions 0 June 10th 05 10:36 PM
Public Functions As Worksheet Available Functions Steve King Excel Programming 3 February 12th 05 07:55 PM
excel functions and User defined functions Kanan Excel Programming 4 May 20th 04 11:21 PM


All times are GMT +1. The time now is 10:12 PM.

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"