Código de listtbox ¿Qué significa este código de listbox?
Private Sub UserForm_Initialize()
Dim fila As Long
Application.DisplayAlerts = False
Application.ScreenUpdating = False
Set b = Sheets("Hoja2")
uf = b.Range("A" & Rows.Count).End(xlUp).Row
uc = b.Cells(1, Columns.Count).End(xlToLeft).Address
wc = Mid(uc, InStr(uc, "$") + 1, InStr(2, uc, "$") - 2)
With Me.ListBox1
.ColumnCount = 2
.ColumnWidths = "30 pt;150 pt"
.RowSource = "Hoja2!A2:" & wc & uf
End With
Application.DisplayAlerts = True
Application.ScreenUpdating = True
Alguien me dice por favor como se traduce esta linea no la entiendo:
wc = Mid(uc, InStr(uc, "$") + 1, InStr(2, uc, "$") - 2) dime
2 Respuestas
Respuesta de Dante Amor
5
Respuesta de Programar Excel
1