I have mention below code, but .rowsource is not working.
I am trying to get the data from sheet which is veryhidden.
any Idea.
Private Sub CommandButton5_Click()
If Sheets("Show").Visible = xlSheetVeryHidden Then
With Me.ListBox1
.ColumnCount = 6
.ColumnWidths = "35;60;60;70;110;60"
.RowSource = Sheets("Show").Range("B12:H19").Address -----> Problem area, its not taking this rowsource.
.BorderStyle = fmBorderStyleSingle
.TextAlign = fmTextAlignLeft
.MultiSelect = fmMultiSelectMulti
End With
End If
End Sub
I am trying to get the data from sheet which is veryhidden.
any Idea.
Private Sub CommandButton5_Click()
If Sheets("Show").Visible = xlSheetVeryHidden Then
With Me.ListBox1
.ColumnCount = 6
.ColumnWidths = "35;60;60;70;110;60"
.RowSource = Sheets("Show").Range("B12:H19").Address -----> Problem area, its not taking this rowsource.
.BorderStyle = fmBorderStyleSingle
.TextAlign = fmTextAlignLeft
.MultiSelect = fmMultiSelectMulti
End With
End If
End Sub