Minimizar cantidad de líneas en macro Excel
Para Danteamor
Hola DAM
Forma de minimizar la cantidad de líneas
Private Sub tbxCustom1_Change() 'Por.Dante Amor tbxCustom1 = Application.Proper(tbxCustom1) 'Reemplazar 1ª letra tbxCustom1 = VBA.Replace(tbxCustom1, " Al ", " al ") tbxCustom1 = VBA.Replace(tbxCustom1, " De ", " de ") tbxCustom1 = VBA.Replace(tbxCustom1, " Del ", " del ") tbxCustom1 = VBA.Replace(tbxCustom1, " La ", " la ") tbxCustom1 = VBA.Replace(tbxCustom1, " Se ", " se ") tbxCustom1 = VBA.Replace(tbxCustom1, " Si ", " si ") tbxCustom1 = VBA.Replace(tbxCustom1, " No ", " no ") tbxCustom1 = VBA.Replace(tbxCustom1, " El ", " el ") tbxCustom1 = VBA.Replace(tbxCustom1, " Y ", " y ") tbxCustom1 = VBA.Replace(tbxCustom1, " Los ", " los ") End Sub
Van a existir mas líneas por lo tanto quisiera pedirte si hacer cosa en que yo mas tarde pueda seguir agregando
1 respuesta
Respuesta de Dante Amor
1