Hello,
I'm trying to use a macro to hide (more accurately to unhide) a list of rows. I currently have it working as (without the comment markers)
I'm trying to condense it to something like
But this leaves the rows hidden (no error)
How do I interact with a list of rows like that?
I tried something with EntireRows, but I read that that's read-only and have since assumed anything with EntireRows won't let me change stuff. Is that right?
Thanks
I'm trying to use a macro to hide (more accurately to unhide) a list of rows. I currently have it working as (without the comment markers)
Code:
' With Rows("62")
' .Hidden = Not .Hidden
' End With
' With Rows("65")
' .Hidden = Not .Hidden
' End With
' With Rows("66")
' .Hidden = Not .Hidden
' End With
Code:
Sheet1.Rows("62,65,66").Hidden = False
How do I interact with a list of rows like that?
I tried something with EntireRows, but I read that that's read-only and have since assumed anything with EntireRows won't let me change stuff. Is that right?
Thanks