# How to remove hidden sections from being numbered

Is it possible to remove the numbering on hidden text/sections in libreoffice writer?

For instance, I have a document that hides several sections depending on a user defined variable (which is used to define the document type) that looks like this:

(1) Section A

(2) Section B

(3) Section C

I want to hide Section B so it looks like this:

(1) Section A

(2) Section C