Share via

Formula on a Userform

Anonymous
2011-03-20T21:17:55+00:00

Is it possible to enter a formula into a textbox on a userform?  I have several other text boxes into which values are inserted, I want another textbox to multiply all the other values together and display the result on the userform and enter it into a cell in my worksheet.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

HansV 462.6K Reputation points
2011-03-20T21:38:06+00:00

No, you can't enter a formula in a text box on a userform. Use the After Update event of each of the contributing text boxes to recalculate the product and place the result in another text box. If you set the ControlSource property of that text box to a cell on the worksheet, the cell value will be updated automatically.

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful