Find all Sheets !

  • Thread starter Thread starter muddan madhu
  • Start date Start date
M

muddan madhu

Hi,

I have 3 sheets in a workbook.
All are names.....

I need macro to find in all sheets.

Is this possible ?

Thanks
 
Put a Combobox on the Sheet and use:


Option Explicit

Private Sub ComboBox1_Change()
Application.ScreenUpdating = False
Dim wks As Worksheet
For Each wks In ThisWorkbook.Worksheets
wks.Protect Password:=""
'wks.EnableSelection = xlUnlockedCells
Next wks
Application.ScreenUpdating = True
End Sub
Private Sub ComboBox1_Click()
If Len(ComboBox1.Value) Then
Worksheets(ComboBox1.Value).Activate
End If
End Sub
Private Sub ComboBox1_DropButtonClick()
Dim Sh As Worksheet
With ComboBox1
.Clear
For Each Sh In ActiveWorkbook.Sheets
If Sh.Name <> "Inputs" Then
.AddItem Sh.Name
End If
Next
End With
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top