Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 276
Default Perform Cell Value Find across ALL Sheets

Is it possible to create a find, by macro, to find ALL sheets with a
Cell(A3) value that matches a Msg Box value?
There could be 100 sheets.

Corey....


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 205
Default Perform Cell Value Find across ALL Sheets

Hi Corey,

Have a go with the code below.

Best regards

John


Sub FindInAllSheets()
Dim wks As Worksheet
For Each wks In Application.ActiveWorkbook
If wks.Cells(3, 1).Value = "MySearch" Then
MsgBox ("Found")
End If
Next wks
End Sub


"Corey" wrote in message
...
Is it possible to create a find, by macro, to find ALL sheets with a
Cell(A3) value that matches a Msg Box value?
There could be 100 sheets.

Corey....



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
macro to find cell content in sheets and make sheet active Nigel Excel Discussion (Misc queries) 4 June 26th 14 02:38 PM
Find value in a Range of Cells and perform Conditional Formatting Kamlesh Excel Worksheet Functions 6 January 29th 10 09:45 AM
perform calculations in 2 sheets Davidgg Excel Worksheet Functions 0 December 20th 06 03:39 PM
How to perform "ifcount" in many sheets Khoshravan Setting up and Configuration of Excel 1 May 21st 06 01:32 PM
Compare two sheets and perform action routine wayliff[_9_] Excel Programming 2 January 16th 06 08:28 PM


All times are GMT +1. The time now is 04:23 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"