Excel - Error "1004"

 
Vista:

Error "1004"

Publicado por jafet (1 intervención) el 18/10/2019 04:24:47
Tengo el siguiente código para llamar información a una lista desplegable... alguien me ayuda por favor...

1
2
3
4
5
6
7
8
9
10
11
Dim htipos As Worksheet
 
Private Sub UserForm_Initialize()
    Dim nCol As Integer
 
    Set htipos = Worksheets("Tipos")
    nCol = htipos.Cells(1, Columns.Count).End(x1ToLeft).Column
 
    MsgBox nCol
 
End Sub

Gracias!
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder