Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Applying the find fuction to a button

I'm having a tuff time applying the find function to a button. I'v
tried running a macro opening the find field; however, when I check th
VB code afterwards no code is listed. The only way I can obtain cod
is by putting in search criteria when doing the find. The values wil
constantly change so this method will not work.

I'm not sure if I should be making a macro for this using a button fro
the form tool bar or if theirs another way to do this with the contro
toolbox button.

Thanks for your help,

-Kevi

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Applying the find fuction to a button

Hi Kevin,

you may want to try Jan Karel Pieterse's excellent FlexFind addin which adds
a turbocharged find button to your toolbar:

http://66.206.3.208/DLCount/DLCount....e=FlexFind.zip


---
Regards,
Norman



"hbp78 " wrote in message
...
I'm having a tuff time applying the find function to a button. I've
tried running a macro opening the find field; however, when I check the
VB code afterwards no code is listed. The only way I can obtain code
is by putting in search criteria when doing the find. The values will
constantly change so this method will not work.

I'm not sure if I should be making a macro for this using a button from
the form tool bar or if theirs another way to do this with the control
toolbox button.

Thanks for your help,

-Kevin


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Applying the find fuction to a button

hbp78

Here is a simple find using a userform. You have to create a userfor
with a textbox and a command button.


Private Sub CommandButton1_Click()
Dim rng As Range
With UserForm1
Cells.Find(What:=.TextBox1.Text, lookat:=xlPart).Select
End With
End Sub


Hopt this gets you started


Charle

--
Message posted from http://www.ExcelForum.com

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
can't find marco button Kent Excel Worksheet Functions 2 August 18th 09 03:46 AM
Applying a macro to a command button, Excel 2002 Vicky Excel Discussion (Misc queries) 3 March 25th 08 07:05 PM
Find Command Button NeedMorHP Excel Discussion (Misc queries) 1 June 6th 05 07:48 PM
create a find button No Name Excel Programming 3 January 28th 04 06:50 PM
Find button on worksheet Al[_7_] Excel Programming 2 September 9th 03 09:04 PM


All times are GMT +1. The time now is 12: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"