Diankathrine
New Member
- Joined
- Oct 27, 2017
- Messages
- 2
Hi,
I'm new in VBA, I've been searching the internet to solve my problems in excel. I'm preparing a Payslip sheet which contains a Command Button which automatically prints all the payslips.
The sheet contains salary benefits which other employees don't have. Let's say employee 1 is entitled to school fees (meaning the cells contain figures) while employee 2 is not (which means the cell contains 0) so i want to automatically hide the row of an empty or 0 cell value. My problem is how do I automatically hide and unhide rows while at the same time automatically printing the payslips? I will highly appreciate any help.
I'm new in VBA, I've been searching the internet to solve my problems in excel. I'm preparing a Payslip sheet which contains a Command Button which automatically prints all the payslips.
The sheet contains salary benefits which other employees don't have. Let's say employee 1 is entitled to school fees (meaning the cells contain figures) while employee 2 is not (which means the cell contains 0) so i want to automatically hide the row of an empty or 0 cell value. My problem is how do I automatically hide and unhide rows while at the same time automatically printing the payslips? I will highly appreciate any help.