J
Jerry Bodoff
Hi,
In VBA how do you programmatically copy a frame
containing controls from one form to another form?
I have a number of forms that use the same frame which
contains a ComboBox and associated command buttons. The
only difference on each form is that the frame caption
and the ComboBox data is different. The code that I
have come up with so far is:
load form1
form1.frame.copy
form2.controls.add ???????????
I am not sure what the ??????? should be. I have also
tried form2.paste which I think was a totally wrong
approach.
Any help and pointers would be appreciated.
Thanks in advance.
Jerry Bodoff
In VBA how do you programmatically copy a frame
containing controls from one form to another form?
I have a number of forms that use the same frame which
contains a ComboBox and associated command buttons. The
only difference on each form is that the frame caption
and the ComboBox data is different. The code that I
have come up with so far is:
load form1
form1.frame.copy
form2.controls.add ???????????
I am not sure what the ??????? should be. I have also
tried form2.paste which I think was a totally wrong
approach.
Any help and pointers would be appreciated.
Thanks in advance.
Jerry Bodoff