VBA code to hide rows n-maximum

前端 未结 2 1942
粉色の甜心
粉色の甜心 2021-01-29 15:25

Is there there any code in Excel 2010 VBA that I can use to hide row n (e.g. row 200) to the maximum row?

Btw the name of the sheet in particular is

2条回答
  •  北海茫月
    2021-01-29 16:16

    Normally I would tell you to try and downvote your question but hey I'm lazy this morning so I'll just give you the answer for which you haven't worked for.

    Rows(200, ActiveSheet.Rows.Count).Hidden = true

提交回复
热议问题