How to address cell numbers separately? I tried with x integer, but it failed.
Private Sub Combo_Selection()
Select Case ComboBox1
Case 'condition any cell in column A of page1
Application.Worksheets("page2") = Activate
call Range_selection
Case 'condition any cell in column B of page1
Application.Worksheets("page3") = Activate
call Range_selection
Case 'condition any cell in column C of page1
Application.Worksheets("page4") = Activate
call Range_selection
End Select
End sub
Private Sub Range_selection()
Select case ComboBox1
Case ' condition first row in any column
Application.ActiveWorksheets. Range ("A1:E50")
Case ' condition second row in any column
Application.ActiveWorksheets. Range ("A51:E100")
'so on upto 10th row
End Select
End Sub