By loto009@gmail.com el miércoles, 05 febrero 2020
Publicado en Excel
Respuestas 1
Likes 0
Vistas 4K
Votos 0
Estimado señor
necesito 
-Cómo buscar y reemplazar texto en la hoja excel mismo CTRL+H con VBA
como encuentro https://www.extendoffice.com/documents/excel/1720-xcel-find-and-replace-chart-title.html  sobre el cuadro de texto y el gráfico 
SI necesito "Buscar y reemplazar texto en la hoja, Excel mismo CTRL + H con VBA"
Gracias
artículo
Este código mi revisión no funciona.
 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

Reemplazar un valor por otro
Los pasos detallados siguen a continuación. Seleccione el rango de celdas donde desea reemplazar el texto o los números. Para reemplazar los caracteres en toda la hoja de cálculo, haga clic en cualquier celda de la hoja activa. Presione el atajo Ctrl + H para abrir la pestaña Reemplazar del cuadro de diálogo Buscar y reemplazar de Excel.
·
Hace años 3
·
Le gusta 0
·
Votos 0
·
0 Comentarios
·
Ver publicación completa