근계
나는해야한다
-시트에서 텍스트를 찾고 바꾸는 방법은 VBA와 동일한 Ctrl+H를 능가합니다.
내가 찾은대로 https://www.extendoffice.com/documents/excel/1720-xcel-find-and-replace-chart-title.html 텍스트 상자 및 차트 정보
"시트에서 텍스트 찾기 및 바꾸기가 VBA와 동일한 Ctrl+H를 능가합니다"가 필요한 경우
고맙습니다
예술
이 코드는 내 수정이 작동하지 않습니다.
나는해야한다
-시트에서 텍스트를 찾고 바꾸는 방법은 VBA와 동일한 Ctrl+H를 능가합니다.
내가 찾은대로 https://www.extendoffice.com/documents/excel/1720-xcel-find-and-replace-chart-title.html 텍스트 상자 및 차트 정보
"시트에서 텍스트 찾기 및 바꾸기가 VBA와 동일한 Ctrl+H를 능가합니다"가 필요한 경우
고맙습니다
예술
이 코드는 내 수정이 작동하지 않습니다.
Sub TextBoxReplace()
'Updateby20140603
Dim xWs As Worksheet
Dim xFindStr As String
Dim xReplace As String
Dim YY As String
xFindStr = Application.InputBox("Find:", xTitleId, "", Type:=2)
xReplace = Application.InputBox("Replace:", xTitleId, "", Type:=2)
Set xWs = Application.ActiveSheet
On Error Resume Next
For
Each YY In xWs.Worksheest("Sheet1").Range("A2:Z")
xValue = shp.TextFrame.Characters.Text
shp.TextFrame.Characters.Text = VBA.Replace(xValue, xFindStr, xReplace, 1)
Next
Each YY In xWs.Worksheets("Sheet2").Range("A2:Z")
xValue = shp.TextFrame.Characters.Text
shp.TextFrame.Characters.Text = VBA.Replace(xValue, xFindStr, xReplace, 1)
Next
Each YY In xWs.Worksheets("Sheet3").Range("A2:Z")
xValue = shp.TextFrame.Characters.Text
shp.TextFrame.Characters.Text = VBA.Replace(xValue, xFindStr, xReplace, 1)
Next
Each YY In xWs.Worksheets("Sheet4").Range("A2:Z")
xValue = shp.TextFrame.Characters.Text
shp.TextFrame.Characters.Text = VBA.Replace(xValue, xFindStr, xReplace, 1)
Next
End Sub