ChrisMinder
New Member
- Joined
- Oct 31, 2023
- Messages
- 3
- Office Version
- 365
- Platform
- Windows
Hi everyone!
I'm a teacher and I use Excel for my school reports. My file contains 4 sheets for each students. The first and fourth page for each student are only printed once. The second and third pages are printed 4 times a year.
I'm trying to create a userform to select the sheets so I can then export them as a PDF. I'm fairly new to VBA.
Can someone tell me which command I can use to add a sheet to a sheets selection? If I only use Select, the sheet is selected but the previous selection is deselected.
Thanks for your help!
I'm a teacher and I use Excel for my school reports. My file contains 4 sheets for each students. The first and fourth page for each student are only printed once. The second and third pages are printed 4 times a year.
I'm trying to create a userform to select the sheets so I can then export them as a PDF. I'm fairly new to VBA.
Can someone tell me which command I can use to add a sheet to a sheets selection? If I only use Select, the sheet is selected but the previous selection is deselected.
Thanks for your help!