LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,071
Default Using Find over entire workbook

Excel XP & Win XP
I have some 50 sheets in my file. I want to find the first instance of a
particular text in whatever sheet it occurs. Having found that, I want the
code to stop. Then, starting from that range, I want to find the next
instance, and so forth. I imagine a button to run a macro to find the
first, then a "Next" button to find the next.
I recorded a macro using Find over the entire workbook and the first
instance was found. However, the initial search to find the target sheet
was not recorded, only the search within that sheet. The recorded code
started with selection of that sheet, rather than showing the code to find
that sheet.
How would I code a search over the entire workbook starting in a given sheet
and at a given cell within that sheet? Thanks for your time. Otto


 
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
Find duplicates in entire workbook Parker Excel Discussion (Misc queries) 2 July 22nd 09 10:24 AM
Find duplicates in entire workbook Mukesh Excel Discussion (Misc queries) 4 June 6th 09 08:46 AM
How to Copy entire Worksheet from Workbook S to Workbook D kris Excel Programming 3 June 20th 07 02:03 PM
Find/Replace Across Entire Workbook in Excel 2000 Tiffany Excel Discussion (Misc queries) 3 February 5th 07 10:31 PM
Find character in entire workbook and format color CST[_2_] Excel Programming 2 February 27th 04 03:05 PM


All times are GMT +1. The time now is 01:13 AM.

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"