kestrel1306
12-11-2016, 05:44 PM
Hi team,
I have a long userform, that is used for data entry.
At certain points I want to move a frame that was previoulst 'hidden' below the visible length of of the userform and insert it further up, obviously everything further down gets relocated.
Easy with one frame to move.
I'm now upping the degree of difficulty and want to do the same with four frames (and beginning to regret it).
Whats a simple way to organise the code please, currently with one I can just change the TOP value, and the SCROLLHEIGHT value and everything shuffles down nicely.
With four to move and my limited skills, the only way I can currently see to do it is a million if thens to try and cope with each possible scenario (16 in total I guess).
Any way would be gratefully welcomed.
Regards
Kestrel
I have a long userform, that is used for data entry.
At certain points I want to move a frame that was previoulst 'hidden' below the visible length of of the userform and insert it further up, obviously everything further down gets relocated.
Easy with one frame to move.
I'm now upping the degree of difficulty and want to do the same with four frames (and beginning to regret it).
Whats a simple way to organise the code please, currently with one I can just change the TOP value, and the SCROLLHEIGHT value and everything shuffles down nicely.
With four to move and my limited skills, the only way I can currently see to do it is a million if thens to try and cope with each possible scenario (16 in total I guess).
Any way would be gratefully welcomed.
Regards
Kestrel