Ik heb de code reeds geplaatst in het codevenster.
Typ in het codevenster van de module de macrocode die u wilt gebruiken.
In the code window of the module, type the macro code that you want to use.
Opmerking: Hoewel de actie RecordZoeken overeen met de opdracht Zoeken op het tabblad Start voor tabellen, query's en formulieren, heeft de actie niet hetzelfde resultaat als de opdracht Zoeken in het menu Bewerken in het codevenster.
Note: Although the FindRecord action corresponds to the Find command on the Home tab for tables, queries, and forms, it doesn't correspond to the Find command on the Edit menu in the Code window.
Selecteer het pictogram Weergave HTML-code om het codevenster te openen.
Select the HTML Code View icon to open the code window.
Selecteer Werkmap in de lijst Object boven het codevenster.
In the Object list above the Code window, select Workbook.
Hij paste de breedte van het codevenster aan zodat hij meer regels tegelijk kon zien.
He adjusted the width of the code pane to see more lines at once.
Als er fouten zijn, vouw je de afzonderlijke fout uit en klik je op het regelnummer om het codevenster voor die fout te openen.
If there are errors, expand the individual error and click the line number to open the code explorer pane for that error.
Dubbel-klik op modTOC om het bijbehorende codevenster te openen.
Double-click on modTOC to open the codewindow associated with it.
De Functie SetWidths op het codevenster van het userform (zoals te zien op de vorige pagina) verzorgt het instellen van de kolombreedtes.
The trick to make the resizing work lies in the Function SetWidths behind the userform (as shown on the previous page).
Als u in de Visual Basic Editor in het codevenster op de objectvervolgkeuzelijst in het codevenster klikt (bijvoorbeeld het object ThisWorkbook), treedt er een fout op.
In the VB Editor, if you click the object dropdown in the code window (for example the ThisWorkbook object), an error occurs.