Hola, estoy haciendo un registro de inventario en excel, pero cuando habró el formulario y lo lleno todo los campos al darle al boton guardar me lanza este error "Error definido por la aplicación o definido por el objeto" y no se que tengo mal, cuando le doy a depurar se para sobre la linea que dice
Código
If Cells(j, i) = " " Then
Aqui esta mi codigo
Código
Private Sub guardar_Click() Dim i, j As Integer For i = 1 To 5 For j = 0 To 1 If Cells(j, i) = " " Then Cells(j, i) = title.Text Cells(j, i + 1) = content.Text Cells(j, i + 1) = dat.Text Cells(j, i + 1) = fonts.Text End If Next j Next i End Sub
ni idea de donde tengo el error