The user form I am making is going to ask the user which options are omitted from the given sheet it will point to. If more than one option is omitted, then all rows corresponding to all omitted options would need to be hidden. Would I need to do something like:
If chkOption1 = True Then
Sheets(2).Rows(3).Offset(1, 0).Hidden = True
ElseIf chkOption2 = True Then
Sheets(2).Rows(3).Offset(1, 0).Hidden = True
ElseIf chkOption1 = True And chkOption2 = True Then
Sheets(2).Rows(3).Offset(3, 0).Hidden = True
End If
And when I use the term "select" I mean that the desired rows are not being hidden. I used my original means of selecting because it matched the way VBA hid rows when recording a macro to do the same thing. Now, even when I write it the same way it would be written in a macro, the rows are not being hidden like they are supposed to be.
Thank you very much for all of the time you are putting into helping me in this matter.
Bookmarks