Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » excel course tate modern - Excel VBA Forms
excel course tate modern - Excel VBA Forms
Resolved · Low Priority · Version Standard
Excel VBA Forms
What is the easiest way to go from one form directly into another depending on the result of the first?For upcoming training course dates see: Pricing & availability
RE: Excel VBA Forms
Hi BenI'm taking your question to mean if you select a particualr value in the first for and this dictates which new for to open.
With this in mind lets suppose you have a combobox cboSelect on frmStartForm and frmX and frmY
On the OK button of frmStartForm place the following code:
If cboSelect.Value = "Form X" then
frmX.show
Else
frmY.Show
End if
Hope this helps
Carlos
|
|
» Forum post: Macros |



Course updates

