Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Macro Using 'FIND' function across several worksheets

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?

--
Thank you! - Jennifer
  #2   Report Post  
Posted to microsoft.public.excel.misc
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?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Macro Using 'FIND' function across several worksheets

You could also use Jan Karel Pieterse's FlexFind:
http://www.oaltd.co.uk/MVP/

(The feature that Bob I suggested was added in xl2002, IIRC.)

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?

--
Thank you! - Jennifer


--

Dave Peterson
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
Can I create a macro that works like the "find' function doral Excel Discussion (Misc queries) 15 August 23rd 07 05:02 PM
Find text - worksheet function or macro? sebh007 Excel Discussion (Misc queries) 6 January 8th 07 12:53 AM
Function to find difference between two similar worksheets is miss Jawahar Excel Discussion (Misc queries) 2 July 31st 06 02:33 PM
Find function in a macro Natalie Excel Worksheet Functions 4 March 22nd 05 07:27 PM
Find a Function to use accross different worksheets R. Hale Excel Worksheet Functions 3 November 25th 04 07:07 AM


All times are GMT +1. The time now is 02:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"