I am just going to start over with a new thread because these two questions have combined.
I had this problem once before within this Excel Workbook. The workbook has two forms. One is a frmPrintCand which allows the user to print the candidates information onto what looks like a form within the excel worksheet. The other is a multipage userform. The first time I had this problem it was on the IntvwWorksheet Multipage Userform. Now, it seems I am having this problem on the frmPrintCand userform.
The reason for the problem is when I only have one candidate entered, rather than more than 1.
The first time this problem occured, it was the following code:
and the solution was the following code:
It seemed to have worked. I didn't have another problem until yesterday, though it's not often I only have one candidate. So, this time it is the following code:
and, I tried the following code by adjusting the code previously provided to fit this one. It didn't work, I'm given a Compile error: Variable not defined, and it highlights the varCand =.
I don't even know if this is the correct solution. If not, then how should I go about it. If so, how do I fix this Compile Error?
Here is the file for review:
ComboBoxPrintBox_TroublesV10.xlsm
Thank you!
Bookmarks