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.

problema con la fecha

publicado

Saludos a todo Ayuda execel , queria pregunta sobre un problema que no logro resolver : en el formulario tengro un txtbox donnde ingreso una fecha ( 03/09/2021) , cuando corro la macro esta coloco en la tabla de datos la fecha en otro formato es decir 09/03/2021, Se que bva trabaja con formato americano(ee.UU)asi que probe inclullendo en el codigo de registrar lo siguiente 

Sheets("Auxiliar").Range ("A2:A")=Format ("mm/dd/yyyy"

pero sigue poniendo la fecha con formato americano, que estoy haciendo mal?

Featured Replies

publicado

Hola

Para que la fecha llegue bien a la hoja, puedes utilizar VBA.CDate

Te dejo enlace para que leas sobre los tipos de datos

Type conversion functions (VBA) | Microsoft Docs

 

Luego puedes pasarle un formato de fecha deseada sobre la hoja

Tal que:

Sheets ("Auxiliar").Range("A:A").NumberFormat = "dd/mm/yy"

 

Saludos!

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.