G043: Lecture 11 Task D Guidance Mr C Johnston ICT Teacher
Session Objectives Have a knowledge of the tools and techniques which can be used to customise a user interface.
Task D In task d you need to create Macros Templates Menus Toolbars A macro is a piece of code which runs several instructions one after another – it saves on key strokes. A template sets up a standard layout for a document to save users time and enforces the companies house style. A menu is a drop down list of commands which are grouped by common theme. They normally have a text label so people know what they are for and possibly an icon as well. A toolbar is a line of buttons which run commands. The button will have an icon (picture) on it to indicate what the button does.
The Task You should have already planned your menus, toolbars, templates and macros as part of task b, You need to build these within the applications you have planned, For band 3 you need to have at least two of each, Testing is also vital - you need to produce a test plan and prove that everything works as planned. Test Description Expected Outcome Pass / FailActual Outcome Corrective Action Retest
Template Tips Use logos and house style Use empty macros as placeholders Remember headers and footers Formula in excel if making invoices Macros to insert new rows in excel
Toolbar and Menu Tips Use for macros - standard buttons already exist Draw an icon which matches what the button is for Have similar on the menu and toolbar Make sure when making toolbars and menus you don’t save them in the document rather than normal.dot
Macro Tips Use macro recorder to record the macros You can use visual basic to edit them Make sure when recording macros you store them in the document not in normal.dot Opening Template Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hWnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long Sub URLOpen() 'Location and name document URL = "C:\Users\cjohnston\Desktop\WORK TEMPLATE.dot" Call ShellExecute(0&, vbNullString, URL, vbNullString, vbNullString, vbNormalFocus) End Sub
Steps Forward Create your templates, macros, toolbars and menus Take screen shots showing them and write on how they make the users computer experience more efficient Create a test table for each and carry out testing – showing they perform correctly