#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Find macro

Hello,

I would like to assign a macro to a button which opens the "find" box, but
stops there. Ie, I want the user to enter the data they wish to find. I've
tried the following code from a previous question about this but although it
brings up the find box, whatever I search for always returns no results.
(Doing the seach manually works fine).

Application.Dialogs(xlDialogFormulaFind).Show

Am I putting this in the wrong place? Should there be extra code? I'm using
a Mac, by the way... perhaps there is a way to send the keys "Apple+f"?

Cheers,

Rich.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Find macro

Activesheet.Cells.Select
Application.Dialogs(xlDialogFormulaFind).Show


or select a specific range you want to search

Columns(3).Select
Application.Dialogs(xlDialogFormulaFind).Show


--
Regards,
Tom Ogilvy

"Richard Hocking" wrote in
message ...
Hello,

I would like to assign a macro to a button which opens the "find" box, but
stops there. Ie, I want the user to enter the data they wish to find. I've
tried the following code from a previous question about this but although
it
brings up the find box, whatever I search for always returns no results.
(Doing the seach manually works fine).

Application.Dialogs(xlDialogFormulaFind).Show

Am I putting this in the wrong place? Should there be extra code? I'm
using
a Mac, by the way... perhaps there is a way to send the keys "Apple+f"?

Cheers,

Rich.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Find macro

Excellent, all sorted!

Thanks,

Rich.

"Tom Ogilvy" wrote:

Activesheet.Cells.Select
Application.Dialogs(xlDialogFormulaFind).Show


or select a specific range you want to search

Columns(3).Select
Application.Dialogs(xlDialogFormulaFind).Show


--
Regards,
Tom Ogilvy

"Richard Hocking" wrote in
message ...
Hello,

I would like to assign a macro to a button which opens the "find" box, but
stops there. Ie, I want the user to enter the data they wish to find. I've
tried the following code from a previous question about this but although
it
brings up the find box, whatever I search for always returns no results.
(Doing the seach manually works fine).

Application.Dialogs(xlDialogFormulaFind).Show

Am I putting this in the wrong place? Should there be extra code? I'm
using
a Mac, by the way... perhaps there is a way to send the keys "Apple+f"?

Cheers,

Rich.




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
Macro-find and sum puiuluipui Excel Discussion (Misc queries) 5 October 19th 09 01:44 AM
Get Macro warning, but can't find Macro Stilla Excel Worksheet Functions 1 January 20th 07 01:27 AM
change error message when no more for "find" in macro to find swyltm Excel Programming 1 January 13th 06 05:16 PM
Using Find in a macro Phil Osman Excel Discussion (Misc queries) 2 August 9th 05 02:08 AM
I need to find a macro to find data cut and paste to another colu. Rex Excel Programming 6 December 7th 04 09:22 AM


All times are GMT +1. The time now is 12:28 AM.

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"