vbaprogammer
Programmer
This question relates to WORD VBA only:
I know I can use this:
Me.Textbox1.Value = 2345 or Me.Textbox1.text = "Hello"
and
x = Me.Textbox1.Value (or text)
But in this case if have multiple frames and tabs
I have a form -- frmMain
frmMain has mpgWizard -- a multipage control
mpgWizard (On Page5) has fraPTInfo -- a frame
fraPTInfo has mpgPTOptions -- a multipage control
mpgPTOptions has (on Page12) txtPTAmount1.
I need to set and retrieve values from/to txtPTAmount1 (or setfocus, backcolor, etc.)
I can't seem to get the syntax right for this control (and others). Can anyone help?
i.e., x = Me.mpgWizard.fraPTInfo.mpgPTOptions.txtPTAmount1.text ...
or is this even possible????
Thanks
WordVBAProgrammer
I know I can use this:
Me.Textbox1.Value = 2345 or Me.Textbox1.text = "Hello"
and
x = Me.Textbox1.Value (or text)
But in this case if have multiple frames and tabs
I have a form -- frmMain
frmMain has mpgWizard -- a multipage control
mpgWizard (On Page5) has fraPTInfo -- a frame
fraPTInfo has mpgPTOptions -- a multipage control
mpgPTOptions has (on Page12) txtPTAmount1.
I need to set and retrieve values from/to txtPTAmount1 (or setfocus, backcolor, etc.)
I can't seem to get the syntax right for this control (and others). Can anyone help?
i.e., x = Me.mpgWizard.fraPTInfo.mpgPTOptions.txtPTAmount1.text ...
or is this even possible????
Thanks
WordVBAProgrammer