A couple of things you might find useful if you're doing Open University Group Theory.

The permutations template contains these functions/procedures: The font doesn't display very well, but it prints OK - I made it with a free font creation tool which lacked some refinements.

The Excel template is a workbook with three spreadsheets: the first is blank, the second contains an explanation of the functions and procedures and the third is an example based on the direct symmetries of a square prism. You can do 'View' ...'Toolbars'...and select 'Permutations' to get a toolbar with buttons to call the procedures.