Guest_imported
New member
- Jan 1, 1970
- 0
Hello,
Can someone help with this command.
Instead of Find "01" i want it to find a value in a text box on the same userform as this command.
msheet = ActiveSheet.Name
Select Case msheet
Case "BoQ"
Range("s3".Select
If ActiveCell.End(xlDown).Row < 65528 Then
Range(ActiveCell, ActiveCell.End(xlDown)).Select
End If
Selection.Find(What:="01", After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Activate
ActiveCell.Offset(0, -11).Select
End Select
End Sub
Cheers,
Keep it simple please
Andrew
Can someone help with this command.
Instead of Find "01" i want it to find a value in a text box on the same userform as this command.
msheet = ActiveSheet.Name
Select Case msheet
Case "BoQ"
Range("s3".Select
If ActiveCell.End(xlDown).Row < 65528 Then
Range(ActiveCell, ActiveCell.End(xlDown)).Select
End If
Selection.Find(What:="01", After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Activate
ActiveCell.Offset(0, -11).Select
End Select
End Sub
Cheers,
Keep it simple please
Andrew