ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to have a macro simply issue the "find" command or "control f: (https://www.excelbanter.com/excel-programming/347762-how-have-macro-simply-issue-find-command-control-f.html)

Charles Adams

How to have a macro simply issue the "find" command or "control f:
 
I would like to have a button in my worksheet to issue the find or control F
command. This would put all the controls I need at the users fingertips. I am
trying to record the macro but it will not let me stop until I perform a
search which I want the user to define what text is being sought.



Charlie

How to have a macro simply issue the "find" command or "control f:
 
in the button click event try this

Application.SendKeys "^f"


"Charles Adams" wrote:

I would like to have a button in my worksheet to issue the find or control F
command. This would put all the controls I need at the users fingertips. I am
trying to record the macro but it will not let me stop until I perform a
search which I want the user to define what text is being sought.



quartz[_2_]

How to have a macro simply issue the "find" command or "control f:
 
Another method:

Application.Dialogs(xlDialogFormulaFind).Show

HTH

"Charles Adams" wrote:

I would like to have a button in my worksheet to issue the find or control F
command. This would put all the controls I need at the users fingertips. I am
trying to record the macro but it will not let me stop until I perform a
search which I want the user to define what text is being sought.



Robert

How to have a macro simply issue the "find" command or "contro
 
Would you know how to have the find command within a cell?

"quartz" wrote:

Another method:

Application.Dialogs(xlDialogFormulaFind).Show

HTH

"Charles Adams" wrote:

I would like to have a button in my worksheet to issue the find or control F
command. This would put all the controls I need at the users fingertips. I am
trying to record the macro but it will not let me stop until I perform a
search which I want the user to define what text is being sought.




All times are GMT +1. The time now is 08:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com