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.

Generar fichero de texto con distintos espacios entre columnas

publicado

Buenos días:

He leído un poco de como generar un fichero de texto pero no he logrado saber como generar distintos espacios entre columnas. O sea, que salga la columna 1, dos espacios columna 2, seis espacios columna 3.

Sería algo así:

Nelio  36      Leer
Yune  34      Bailar

Agradezco a todo aquel que me pueda ayudar.

Featured Replies

publicado

Ya te han contestado a esto en otro foro.

Sub MiTxt(): On Error Resume Next
Open "C\MisTxt\MiTxt.txt" For Output As #1 '<-- Adapta la ruta a tus necesidades
For x = 1 To Range("A" & Rows.Count).End(xlUp).Row
   Print #1, Range("A" & x) & "  " & Range("B" & x) & "      " & Range("C" & x)
Next
Close #1
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.