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.

Convertir numero columna a letra

publicado

Hola a todos;

¿Hay algún procedimiento o función que me convierta el numero de una columna a letra?

Ejemplo:

Private Sub btnColumna_Click()
Dim tColumna As String
    Me.TextBox1 = 2
    tColumna =Me.TextBox1  "??????"  <-----Aquí me debería indicar la columna en formato texto
End Sub

 

image.thumb.png.d7ebad691018718c07b04df5c98c40cc.png

Saludos y buen día a todos.

 

 

Editado el por Benito Bartolomé

Featured Replies

publicado
  • Autor
Hace 1 hora, Antoni dijo:
Letra = Split(Cells(1, Número).Address, "$")(1)

 

Hola Antoni;

Había visto algo con el Split pero no fui capaz de implementar.

Lo he dejado así, a ver que te parece.

Private Sub btnColumna_Click()
Dim tColumna As Integer
    tColumna = Me.TextBox1
    letra = Split(Cells(1, tColumna).address, "$")(1)
    MsgBox letra
End Sub

Saludos y muchas como siempre.

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.