Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > VBA / Office Integration > Excel > Find...


Reply
 
Thread Tools Display Modes
  #1  
Old 09-30-2003, 06:37 AM
Olliee Olliee is offline
Freshman
 
Join Date: Sep 2003
Location: United Kingdom
Posts: 29
Default Find...


i want to open the find window in excel from a userform on a button press how would i do this ?
Reply With Quote
  #2  
Old 09-30-2003, 10:49 AM
Wamphyri's Avatar
Wamphyri Wamphyri is offline
Variable not defined

Retired Moderator
* Guru *
 
Join Date: Apr 2002
Location: Ottawa, Ontario
Posts: 4,793
Default

You'd use the Dialogs collection after selecting the range to search.
Code:
Private Sub CommandButton1_Click() 'To search all sheets use 'Application.Sheets.Select 'To search only active sheet Application.Cells.Select Application.Dialogs(xlDialogFormulaFind).Show End Sub
__________________
-Carl
Reply With Quote
  #3  
Old 09-30-2003, 12:02 PM
Olliee Olliee is offline
Freshman
 
Join Date: Sep 2003
Location: United Kingdom
Posts: 29
Default

Cheers dude.. did the job nicely
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Find Next ToddII General 0 10-18-2002 01:30 AM
find a value in a sheet waqas Word, PowerPoint, Outlook, and Other Office Products 2 06-24-2002 07:43 AM
Find and Replace in VB Smart General 3 03-20-2002 08:35 PM
find code doesn't work Keltus General 1 12-31-2000 08:56 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->