All,
I am trying to find a method for converting all cells in entire workbook starting with the formula "=cc." to values.
This is what I have so far.
There are two issues at present, it only works on the current worksheet, and secondly it returns a Run-time '91' Error on completion of the sheet (altough I can live with this issue).
Thank you in advance.
Len
I am trying to find a method for converting all cells in entire workbook starting with the formula "=cc." to values.
This is what I have so far.
Code:
Sub
Do Until IsNotFound
Cells.Find(What:="=cc.", After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Activate
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Loop
End Sub
There are two issues at present, it only works on the current worksheet, and secondly it returns a Run-time '91' Error on completion of the sheet (altough I can live with this issue).
Thank you in advance.
Len