On Excel forms or vb:
lets say i have frame1 with a button on it, it serves me well for a state for a certain workflow, but later on the same flow i would like the same button to appear on frame2 because according to the state a change the layout of the main form.
is this possible?
EDIT OK, my previous answer failed. How about the SetParent API call?
Old answer, doesn’t work
Did you try
Set btn.parent = frame2You need the Set