' ** Module code to emulate your calling procedure Sub main() Form1.pParam = "Hello Form." Form1.Show End Sub
' ** Form code to accept parameters Private m_varpParam As Variant Public Property Get pParam() As Variant pParam = m_varpParam End Property Public Property Let pParam(ByVal varpParam As Variant) m_varpParam = varpParam End Property ' Example to show param came through. Private Sub Form_Load() Me.Caption = m_varpParam End Sub
"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams