Hide staffs when no notes

Hi!
New user.
For formating/print: Can I hide staffs that's not containing notes, only for the parts that it applies to?
New user.
For formating/print: Can I hide staffs that's not containing notes, only for the parts that it applies to?