View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob I Bob I is offline
external usenet poster
 
Posts: 2,819
Default Macro Using 'FIND' function across several worksheets

If you do "select all" on the worksheet tab, all sheets will be searched
from Ctrl+F.

Jennifer Cali wrote:

Hello,
I'd like to write a macro so the user can run a macro that will:
1) ask the user to input a value
2) search for the value in the current worksheet
3) if the value is not found, move to the next worksheet and continue search
4) if the value is not found, move to the next worksheet and continue search
(etc.)

I know in Excel I hit 'Ctrl' + 'F' and enter the value, then click 'Search'.
If I get the message that no values are found, I hit 'Ctrl' + 'PgDn' to move
to the next sheet (etc.). We have upwards of 20+ worksheets in each workbook
and it takes forever to manually move between sheets. Can anyone help?