Excel Macro hide specific cell & merged area

后端 未结 1 1689
感情败类
感情败类 2021-01-27 12:35

I am trying to hide specifics cells based on the value of another cell. So far I manage to hide the entire row but is not able to hide specific cells.

Local Curr         


        
相关标签:
1条回答
  • 2021-01-27 12:56

    You can only hide a full row or full column, you can not hide individual cells, you can only delete them, if you delete a range, you can move cells up or left from the sides

    in order to delete; this statement can be used

    Range("LocalCurAmount").Delete Shift:=xlUp
    
    0 讨论(0)
提交回复
热议问题