Hi,
I tried the following code, but I get <Subscript out of range> error. Is this not possible? I want the sheetName to be dynamically changed depending on what user selected in the combo box cboReports.
Dim sheetName As String
sheetName = cboReports.Value & " Reports"
Sheets(sheetName).Select
Thank you!
I tried the following code, but I get <Subscript out of range> error. Is this not possible? I want the sheetName to be dynamically changed depending on what user selected in the combo box cboReports.
Dim sheetName As String
sheetName = cboReports.Value & " Reports"
Sheets(sheetName).Select
Thank you!