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.

dtpicker me pone la hora

publicado

buenas tardes, tengo el siguiente codigo donde se supone que me tiene que poner solamente la fecha como me funciona normalmente solo que ahora nose porque me pone la fecha junto con la hora, ya revise la configuracion regional y la fecha corta es dd:mm:yyyy.

Private Sub DTPicker1_Change()

Hoja3.Range("F2").Value = DTPicker1.Value

End Sub

esto seria lo que me pone en la celda "F2" 19/10/2012 03:42:19 p.m

gracias por la ayuda

Featured Replies

publicado

Saludos.

De la siguiente forma controlas el formato de la celda, prueba y comentas.

Private Sub DTPicker1_Change()
With Hoja3.Range("F2")
.Value = DTPicker1.Value
.NumberFormat = "dd/mm/yyyy"
End With
End Sub[/code]

Atte.

joshua

publicado
  • Autor

listo probe pero me lo sigue poniendo igual, gracias

publicado

Revisa esto

Private Sub DTPicker1_Change()

With Hoja3.Range("F2")

DTPicker1.Value = Date

.NumberFormat = "dd/mm/yyyy"

End With

End Sub

publicado

Saludos.

Adjunta el archivo con datos ficticios, sera más facil ayudarte de esta forma.

Atte.

joshua

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.