<font face=Courier New><SPAN style="color:#00007F">Private</SPAN> <SPAN style="color:#00007F">Sub</SPAN> UserForm_Initialize()<br><SPAN style="color:#00007F">Dim</SPAN> ws <SPAN style="color:#00007F">As</SPAN> Worksheet<br><SPAN style="color:#00007F">Dim</SPAN> S <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">Integer</SPAN><br><SPAN style="color:#00007F">For</SPAN> S = 1 <SPAN style="color:#00007F">To</SPAN> Worksheets.Count<br><SPAN style="color:#00007F">With</SPAN> Worksheets("Sheet Names")<br><SPAN style="color:#00007F">Set</SPAN> ws = Worksheets(S)<br>.Cells(S, 1).Value = ws.Name<br><SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">With</SPAN><br><SPAN style="color:#00007F">Next</SPAN> S<br><br><SPAN style="color:#00007F">Dim</SPAN> calcmode <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">Long</SPAN><br> <SPAN style="color:#00007F">Dim</SPAN> ViewMode <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">Long</SPAN><br> <SPAN style="color:#00007F">Dim</SPAN> myStrings <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">Variant</SPAN><br> <SPAN style="color:#00007F">Dim</SPAN> FoundCell <SPAN style="color:#00007F">As</SPAN> Range<br> <SPAN style="color:#00007F">Dim</SPAN> I <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">Long</SPAN><br> <SPAN style="color:#00007F">Dim</SPAN> myRng <SPAN style="color:#00007F">As</SPAN> Range<br> <SPAN style="color:#00007F">Dim</SPAN> sh <SPAN style="color:#00007F">As</SPAN> Worksheet<br><br> <SPAN style="color:#00007F">With</SPAN> Application<br> calcmode = .Calculation<br> .Calculation = xlCalculationManual<br> .ScreenUpdating = <SPAN style="color:#00007F">False</SPAN><br> <SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">With</SPAN><br><br> <SPAN style="color:#007F00">'We use the ActiveSheet but you can also use Sheets("MySheet")</SPAN><br> <SPAN style="color:#00007F">Set</SPAN> sh = ActiveSheet<br> <br><br> <SPAN style="color:#007F00">'We search in column A in this example</SPAN><br> <SPAN style="color:#00007F">Set</SPAN> myRng = sh.Range("A:A")<br><br> <SPAN style="color:#007F00">'Add more search strings if you need</SPAN><br> myStrings = Array("Home Screen", "Database", "Talent Charts", "Sheet Names")<br><SPAN style="color:#007F00">'Home Screen, Database, Talent Charts</SPAN><br> <SPAN style="color:#00007F">With</SPAN> sh<br><br> <SPAN style="color:#007F00">'We select the sheet so we can change the window view</SPAN><br> .Select<br><br> <SPAN style="color:#007F00">'If you are in Page Break Preview Or Page Layout view go</SPAN><br> <SPAN style="color:#007F00">'back to normal view, we do this for speed</SPAN><br> ViewMode = ActiveWindow.View<br> ActiveWindow.View = xlNormalView<br><br> <SPAN style="color:#007F00">'Turn off Page Breaks, we do this for speed</SPAN><br> .DisplayPageBreaks = <SPAN style="color:#00007F">False</SPAN><br><br> <SPAN style="color:#007F00">'We will search the values in MyRng in this example</SPAN><br> <SPAN style="color:#00007F">With</SPAN> myRng<br><br> <SPAN style="color:#00007F">For</SPAN> I = <SPAN style="color:#00007F">LBound</SPAN>(myStrings) <SPAN style="color:#00007F">To</SPAN> <SPAN style="color:#00007F">UBound</SPAN>(myStrings)<br> <SPAN style="color:#00007F">Do</SPAN><br> <SPAN style="color:#00007F">Set</SPAN> FoundCell = myRng.Find(What:=myStrings(I), _<br> After:=.Cells(.Cells.Count), _<br> LookIn:=xlFormulas, _<br> LookAt:=xlWhole, _<br> SearchOrder:=xlByRows, _<br> SearchDirection:=xlNext, _<br> MatchCase:=False)<br> <SPAN style="color:#007F00">'Use xlPart If you want to search in a part of the FoundCell</SPAN><br> <SPAN style="color:#007F00">'If you use LookIn:=xlValues it will also delete rows with a</SPAN><br> <SPAN style="color:#007F00">'formula that evaluates to "Ron"</SPAN><br> <SPAN style="color:#00007F">If</SPAN> FoundCell <SPAN style="color:#00007F">Is</SPAN> <SPAN style="color:#00007F">Nothing</SPAN> <SPAN style="color:#00007F">Then</SPAN><br> <SPAN style="color:#00007F">Exit</SPAN> <SPAN style="color:#00007F">Do</SPAN><br> <SPAN style="color:#00007F">Else</SPAN><br> FoundCell.EntireRow.Delete<br> <SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">If</SPAN><br> <SPAN style="color:#00007F">Loop</SPAN><br> <SPAN style="color:#00007F">Next</SPAN> I<br><br> <SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">With</SPAN><br><br> <SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">With</SPAN><br><br> ActiveWindow.View = ViewMode<br> <SPAN style="color:#00007F">With</SPAN> Application<br> .ScreenUpdating = <SPAN style="color:#00007F">True</SPAN><br> .Calculation = calcmode<br> <SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">With</SPAN><br><br>Range("A1").Select<br><SPAN style="color:#00007F">Do</SPAN> <SPAN style="color:#00007F">Until</SPAN> ActiveCell.Value = ""<br> Me.cboSheetNames.AddItem ActiveCell.Value<br> <br> ActiveCell.Offset(1, 0).Select<br> <br><SPAN style="color:#00007F">Loop</SPAN><br>Application.ScreenUpdating = <SPAN style="color:#00007F">True</SPAN><br><br><SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">Sub</SPAN><br></FONT>