Hi. I have a userform that copies data from one worksheet to another. I have used the following code in the initialise userform to set names for each sheet

Set shSource = ThisWorkbook.Sheets("Sheet2")
Set shDest = ThisWorkbook.Sheets("Sheet1")
This works fine but I have other actions on the userform like changing a value or saving changes. These cant use shSource or shDest as they are not set publically in the userform. How can I change them to make it useable across the whole userform. I have tried using public but the "" around "sheet2" and "sheet1" mean it cant work. I guess there is something simple I am missing

Thank you.