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.

Last Modified Field

publicado

Hola a todos

Queria hacerles una pregunta. Es un poco tonta pero no logro hacer que trabaje.

Lo que quiero hacer es ejemplo: tener una hoja de excel, indiferentemente le haga un cambio en una celda "x" o "y"

me aparezca en una celda que yo le especifique, la fecha y hora de modificación.

Encontre este código y me funciona bien, el tema es que quiero colocarlo en vez de (1,1) lo quiero colocar

digamos en la O4.

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)

Cells(1, 1).Value = "Last saved: " & Format(Date, "dd-mm-yy") & " " & Time

End Sub

Referecia: Can I make a cell in Excel that stamps the time of the last time the .xls was saved?

Featured Replies

publicado

Hola:

A ver si es esto.

Saludos

[COLOR=#333333][COLOR=#333333][FONT=verdana]Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
[/FONT][/COLOR][/COLOR][COLOR=#333333][COLOR=#333333][FONT=verdana][B] Range("O4")[/B].Value = "Last saved: " & Format(Date, "dd-mm-yy") & " " & Time[/FONT][/COLOR][/COLOR]
[COLOR=#333333][COLOR=#333333][FONT=verdana]End Sub
[/FONT][/COLOR][/COLOR][/CODE]

publicado
  • Autor

Hola Mister, perdone no habia visto la respuesta hasta ahora.

Trate pero no me funciono. Usted conocerá de algún código que me ayude con lo que necesito. He visto varios, pero lo que hacen por lo general, es que si haces cambio en una fila, te registra la fecha de modificación de la fila, y no del documento.

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.