

#TEXTFRAME2 WORD COPY FORMAT CODE#
You can assign the Group property of each of those option buttons to the same value and you then won't need to code any events to turn other values off when one is checked. This is a visual clue on functionality for the user when they look at the userform.Ģ. Interface 'unwritten rules' tell the user that options in a group are mutually exclusive but checkboxes are not. The benefits of using Option buttons over checkboxes are:ġ. In terms of userform design, if your Labels are 'mutually exclusive' (meaning you can only choose one at a time), then you should use Option buttons instead of checkboxes. The better organised the workbook and userform, the more efficient you can make your code. We can come back to this later but the following suggestions are all in line with setting yourself up for success. You can then align that text with your shapes and/or named ranges in the workbook. To do this, I normally use properties on a control such as the Tag property but perhaps in this case I would use the Caption. I'm a big fan of setting up loops in user forms to allow your form design to be more modular and adapt without altering code if you need to add or remove controls.
#TEXTFRAME2 WORD COPY FORMAT HOW TO#
This looks like an assignment so I'm not going to do all the work for you but am happy to guide you on how to get this working. I've sent the better part of the week googling for solutions and 'stealing' bits out of other workbooks that I have been assisted with but I'm beginning to think I'm not putting in the right search terms because I can't find what I am looking for.Īny assistance is, as always, greatly appreciated. Query 3 - the idea behind the 'create inner mailing labels' command button is that the workbook would be temporarily hidden until it is clicked on which would then cause the workbook to become visible so that the User can double-check the information is correct before committing the To/From worksheet to print. Query 2 - Similar to the above but this time what is needed to copy over the To/From addresses to the appropriate place on the To/From worksheet? Query 1a - If none of the label checkboxes are ticked but the Marking 1 checkbox was, how would you get it copied over to position itself where Label 1 is currently indicated? Marking 3 is a mandatory marking and as such will be already 'prepositioned' onto the To/From worksheet. Query 1 - How do I link the Userform checkboxes to their corresponding labels and markings (shapes on the Labels worksheet) and then copy the selected label and marking(s) to the places as indicated on the ToFrom worksheet? Only 1 label (if a label is required) would be selected at any one time. The purpose of the Userform is to ensure that the required label, markings and To and From addressee are selected. Opening the attached spreadsheet will cause a UserForm to open.
