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.

Macro para extraer datos desde un archivo de texto y enviarlo a un excel

publicado

Hola a todos, no se si puedan ayudarme.

Necesito una macro que me extraiga con un botón desde un archivo de texto externo a Excel, los datos de las columnas CODIGO, NOMBRE, USUARIO, ESTADO, F.INGRESO, F.CESE, F.FIN EMAIL y adicionalmente me extraiga las lineas DEPENDENCIA ANTERIOR y DEPENDENCIA ACTUAL.El archivo de texto es un reporte 1000 lineas aproximadamente, también debería limpiar las celdas, cada vez que se pida un nuevo reporte, los datos a extraer en la columna CODIGO sería: 20839, NOMBRE seria: GALVEZ/ARAUJO/ROSA JESUS, USUARIO seria: RGLAVEZ, ESTADO seria: A, F.INGRESO seria: 1984-10-09, F.CESE seria: Nulo, F.FIN EMAIL seria: nulo todo esto de la linea 1, 20098 PEZO/MARMOLEJO/MARIA EMILIA, etc de la linea 2 y así sucesivamente, pero que tambien me añada un campo indicando la DEPENDENCIA ACTUAL y otro la DEPENDENCIA ANTERIOR y así sucesivamente en todas las lineas que se generen en el txt.

Adjunto el archivo.

Ejemplo-20130321-0530.txt

Featured Replies

No hay posts para mostrar

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.