Durch diesen Schritt wird sichergestellt, dass der Assistent die systemeigenen Datentypen richtig zuordnet und der gesamte vom Assistenten extrahierte Code im Codefenster ordnungsgemäß angezeigt wird.
This ensures that the wizard maps the native data types correctly and that all the code extracted by the wizard displays correctly in the Code window.
Sie können die Farbe, Schriftart, den Schriftgrad und die Tabulatorbreite ändern, die bei der Eingabe von Visual Basic -Code im Codefenster verwendet werden.
You can change the color, font, font size, and tab width used when you type Visual Basic code in the Code window.
Erstellen Sie zum Ausführen dieses Beispiels ein Formular mit einer Befehlsschaltfläche namens cmdActiveWebColorChange , und fügen Sie folgenden Code im Codefenster ein. Zum Ändern der Hintergrundfarbe benötigen Sie eine Webseite mit dem Namen index.htm für diese Prozedur.
To run this example, create a form with one command button called cmdActiveWebColorChange and paste the following code in the code window. You must have a Web page called index.htm for this procedure to change the background color.
Erstellen Sie zum Ausführen dieses Beispiels ein Formular mit einer Befehlsschaltfläche namens cmdActiveWebColorChange , und fügen Sie folgenden Code im Codefenster ein.
To run this example, create a form with one command button called cmdActiveWebColorChange and paste the following code in the code window.
Entfernen Sie den gesamten Code im Codefenster des Designers. Dieser Code kann für Visual Basic-Add-Ins, jedoch nicht für Microsoft Office-Add-Ins verwendet werden.
Remove all of the code in the designer's code window. This code works for Visual Basic add-ins but not Microsoft Office add-ins.
Autres résultats
Geben Sie Ihren Code in das Codefenster des Moduls ein, oder kopieren Sie ihn hinein.
Ausführliche Informationen zum Verwenden der VBA-Entwicklungsumgebung und zum Schreiben von VBA-Code im Visual Basic-Editor finden Sie im Menü Hilfe unter Microsoft Visual Basic-Hilfe. Hilfe zu einem bestimmten Schlüsselwort erhalten Sie, indem Sie das Wort im Codefenster markieren und dann F1 drücken.
For detailed information about using the VBA development environment and writing VBA code, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu. For help on a specific keyword, select the keyword in the code window, and then click F1.
Der Teil des Codes mit dem String wird gefunden und das entsprechende Modul wird im Codefenster geöffnet.
The part of the code with this string will be found and the corresponding module will be opened in the code window.
Die aktuelle Code-Zeile des ausgewählten Makros wird im Codefenster der VBA-IDE geöffnet.
The VBA IDE is opened with the chosen macro open in the Code window at the line of execution.
Microsoft Visual Basic überprüft automatisch bei der Eingabe den im Codefenster des Microsoft Visual Basic-Editors eingegebenen Code auf Syntaxfehler.
Microsoft Visual Basic automatically checks the code you type in the Code window of the Microsoft Visual Basic Editor for syntax errors as you type it.
Geben Sie in der VBA IDE im Codefenster unmittelbar nach dem Unterprogramm drawout folgenden Code ein
In the VBA IDE, enter the following code in the Code window, after the drawout subroutine
Klicken Sie im Menü Bearbeiten auf Kopieren. Klicken Sie im Codefenster im Feld Projekt auf das Modul, in dem der Code abgelegt werden soll.
Record a new macro Click Record, and when you finish recording the macro, on the Developer tab, in the Code group, click Stop Recording.
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.