Data in UserForm -> selection box -> paste into sheet to create PDF

dillyoh

New Member
Joined
Aug 22, 2018
Messages
12
I've got a staff manager type thing that I'm working on. Essentially there is a database stored in a sheet with staff details. This includes contact information, leave balances, Next of Kin details etc.
I've got a userform called frmRegistration that searches and displays the results.

The results are displayed as Caption Labels rather then text boxes on the form.

Its based off https://www.onlinepclearning.com/staff-database-excel-awesome-userform-database/
but instead of text fields I have used captions because im only displaying data not editing/adding it.

What I want to do from here is to click a button which will let me decide which data (staff contact, NOK, leave balances etc) to paste into another sheet so I can create a PDF out of it.


What Im not sure about is
a) how do I create a tick box system to decide what data I want to print (another userform with check boxes?)
b) how do I then take text.captions values from my previous userform and paste them into a template sheet ready to be converted into a PDF for printing.


This forum doesnt allow me to post attachments...
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Forum statistics

Threads
1,223,893
Messages
6,175,246
Members
452,623
Latest member
cliftonhandyman

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top