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.

Mostrar el nombre del mes desde un número

publicado

Hola compañeros, tengo una consulta rápida que haceros:

Quiero mostrar el nombre del mes según el número, y tengo la siguiente macro:

MsgBox "Estamos en el mes: " & Month(Now) & vbCr & "Estamos en el mes: " & Format(Month(Now), "mmmm")

Sin embargo, me muestra la siguiente información:

imagen.png.25000f09d6decc4fda283cd49149f643.png

Obviamente, el mes número 3 se corresponde con el mes de MARZO y no de  ENERO.

Agradezco cualquier tipo de ayuda. Muchas gracias por vuestro tiempo.

Saludos.

Editado el por jesuspg

Featured Replies

publicado

Buenas prueba :

MsgBox "Estamos en el mes: " & Month(Date) & vbCr & "Estamos en el mes: " & MonthName(Month(Date))

Saludos

publicado
  • Autor
En 26/3/2022 at 23:30 , JasallBcn dijo:

Buenas prueba :

MsgBox "Estamos en el mes: " & Month(Date) & vbCr & "Estamos en el mes: " & MonthName(Month(Date))

Saludos

Gracias es justo la función que necesitaba. Hacer un switch-case para esto, lo veía casi rídiculo. Un saludo.

Editado el por jesuspg

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.