Hi,
I've created a macro to ask for a value (via msg box), then find the value in a worksheet and then it brings in the data on the same row as that value. I now need to modify it because the response will be in multiple sheets, so I need it to find the response in sheet 1, then do it's thing, then find the resposne in sheet 2, etc. Here is the code I have for finding the value:
Workbooks("Large Group Indiv Scorecard.xls").Activate
Dim wksht As Worksheet, c As Range
For Each wksht In ActiveWorkbook.Worksheets
Set c = wksht.Cells.Find(What:=uResponse, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByColumns, MatchCase:=True)
If Not c Is Nothing Then
wksht.Activate
c.Select
Exit For
End If
Next
Any help would be apprecaited.
Thanks,
Garrett
I've created a macro to ask for a value (via msg box), then find the value in a worksheet and then it brings in the data on the same row as that value. I now need to modify it because the response will be in multiple sheets, so I need it to find the response in sheet 1, then do it's thing, then find the resposne in sheet 2, etc. Here is the code I have for finding the value:
Workbooks("Large Group Indiv Scorecard.xls").Activate
Dim wksht As Worksheet, c As Range
For Each wksht In ActiveWorkbook.Worksheets
Set c = wksht.Cells.Find(What:=uResponse, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByColumns, MatchCase:=True)
If Not c Is Nothing Then
wksht.Activate
c.Select
Exit For
End If
Next
Any help would be apprecaited.
Thanks,
Garrett