phillipsdp
New Member
- Joined
- Feb 24, 2014
- Messages
- 8
Hi -
I currently have a working macro but need help to make it loop through every sheet rather than only working on the active sheet. below is my current macro if you could help that would be GREAT!
Sub CPV()
Set Rng = Cells.Find(What:="round", _
After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, _
SearchDirection:=xlNext, _
MatchCase:=False)
If Not Rng Is Nothing Then
Do
Rng.Formula = Rng.Value
Set Rng = Cells.FindNext(Rng)
Loop Until Rng Is Nothing
End If
End Sub
I currently have a working macro but need help to make it loop through every sheet rather than only working on the active sheet. below is my current macro if you could help that would be GREAT!
Sub CPV()
Set Rng = Cells.Find(What:="round", _
After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, _
SearchDirection:=xlNext, _
MatchCase:=False)
If Not Rng Is Nothing Then
Do
Rng.Formula = Rng.Value
Set Rng = Cells.FindNext(Rng)
Loop Until Rng Is Nothing
End If
End Sub