Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Assuming all the required workbooks are open, and assuming you are
doing the sensible thing and keeping your application workbook (with the code in) separate from the data, you can loop through the open workbooks like so... Dim wbk as Workbook Dim wks as Worksheet ' Loop through open workbooks For each wbk in Application.Workbooks 'Ignore application workbook if wbk < Thisworkbook then 'Loop through worksheets in each workbook For each wks in wbk.Worksheets 'Put your search code etc. in here ' ' Next wks End If Next wbk That's enough for now - I mean you wouldn't want me to do the whole thing for you would you. ?;^) Kind regards, NickH |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Counting Cells in a column depending on another column but excluding duplicates | Excel Discussion (Misc queries) | |||
How do I search for repeated numbers in same column | New Users to Excel | |||
Total numbers in column where the row cell matches the search crit | Excel Worksheet Functions | |||
Search for duplicate entries in a column of numbers | Excel Worksheet Functions | |||
Search and add numbers from many WBs depending on ID column | Excel Discussion (Misc queries) |