macro to find cell

jameschez15

New Member
Joined
Mar 7, 2002
Messages
4
All i want to do is create a button that performs the alt+F function to find a cell. i have a list of names and i want a button at the top of the page to press alt+F. or something similar. when I try to record it to do this the find function is in grey text meaning i cant select it. plz help
james
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
i cannot get this to work still when i edit the macro do i delete what is already in it, allt he sub bit and stuff? i dont know how to write all the code. ive tried a few variations and still cannot get it to work, help appreciated though. argh coursework due in in a couple of hours. plz help thanx
 
Upvote 0
The best thing to do is go into VBA, insert a module, then copy and paste Dave's code into it, cos it works great. Then just go back into Excel, and assign the MyFind macro to your button by right clicking it
This message was edited by audiojoe on 2002-03-08 04:32
 
Upvote 0

Forum statistics

Threads
1,214,381
Messages
6,119,192
Members
448,874
Latest member
Lancelots

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top