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.

Cambiar formula de Macro segun valor de una celda

publicado

Hola.Hice una macro grabando a medida que ejecutaba excel 2003. Funciona bien y quedó segun el archivo que adjunto. SCairo2012 es el nombre del archivo excel y corresponde a la persona SCairo y al año 2012. Mi problema es que al copiar el archivo para utilizarlo en el año 2013 debo cambiar la macro manualmente. Mi pregunta es: ¿ Hay alguna forma que la macro tome el dato del año de una celda de excel o el nombre y año completo ? Muchas gracias.

Macro.txt

Featured Replies

publicado
  • Autor

Hola. Ante mi necesidad ******* consulté a un programador amigo y me dió la solución. Ahora al cambiar el nombre del archivo (P.Ej. SCairo2013). Asi quedó la nueva macro.

Sub INICIOC()

'

' Macro3 Macro

' Macro grabada el 25/04/2012 por ESTUDIO

'

'

Windows(Mid(ActiveWindow.Caption, 1, Len(ActiveWindow.Caption) - 1) + "2").Activate

ActiveWindow.Close

Windows(Mid(ActiveWindow.Caption, 1, Len(ActiveWindow.Caption) - 1) + "2").Activate

ActiveWindow.Close

Sheets("INICIO").Select

ActiveWindow.WindowState = xlMaximized

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.