Saltar al contenido
View in the app

A better way to browse. Learn more.

Ayuda Excel

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Como puedo fucionar estas 2 macros, (convertir a mayúscula automaticamente

publicado

Hola a todos nesecito de su ayuda, antes esta funcion de estas 2 formulas me corrian, esta macro convierte la celda en mayuscula y a la vez incresas 2 veces datos y automaticamente se bloquea la celda.
--------------------------------------------------------------------
Esta es la formula la que antes me corria bien:

Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
    If Not Intersect(Target, [d33:f33]) Is Nothing Then
Target.Value = UCase(Target.Value)
               Hoja6.[a1] = Hoja6.[a1] + 1
Application.EnableEvents = True
        If Hoja6.[a1] >= 3 Then
            ActiveSheet.Unprotect "colorbol54321.-"
            [d33:f33].Locked = True
            ActiveSheet.Protect "colorbol54321.-"
            MsgBox "Se ha bloqueado la celda para su protección.", vbInformation, "Registro Pedagógico v6.5"
     End If
   End If
End Sub
------------------------------------------------------
Quiero ingresar esto a la anterior macro de arriba:

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells.Count > 1 Or Target.HasFormula Then Exit Sub
On Error Resume Next
Application.EnableEvents = False
Target.Value = vab.UCase(Target.Value)
Application.EnableEvents = True
On Error GoTo 0
End Sub
----------------------
Gracias

Featured Replies

publicado

y ahora no te funcionan o quieres dejarla solo en una ??'

 

Archivado

Este tema está ahora archivado y está cerrado a más respuestas.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.