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.

Personalizar celda

publicado

Buenos días amigos
quisiera que me ayuden a personalizar una celda para cargar una factura
tendría que quedar así por ejemplo A 00001-00000123 donde la letra puede ser A B C
es decir que yo ponga A 1-123 y automáticamente me coloque A 00001-00000123
se podrá?
muchas gracias

Featured Replies

publicado

necesitas apoyarte de las macros, si suponemos que el rango donde requieres ingresar ese tipo de informacion fuera [C2:C5] (o adapta a tu rango real), copia > pega (o escribe) lo siguiente en el modulo de codigo de 'esa' hoja:

Private Sub Worksheet_Change(ByVal Target As Range)
  If Target.Count > 1 Then Exit Sub
  If Intersect(Target, Range("c2:c5")) Is Nothing Then Exit Sub
  On Error Resume Next: Application.EnableEvents = False
  Dim car As String, num: car = Left(Target, 2): num = Split(Mid(Target, 3), "-")
  Target = car & Format(num(0), "00000") & Format(num(1), "-00000000")
  Application.EnableEvents = True
End Sub

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.