Symbolleisten

WB01727_.gif (1537 Byte)

Summary

Text...

Leserprofil
Alle Excel-Anwender und VBA-Programmierer ohne spezielle Fachkenntnisse

WB01727_.gif (1537 Byte)

Inhaltsübersicht

Allgemeines über Symbolleisten

Eigene Symbolleiste erstellen
  Symbolleiste in Excel erstellen
  Symbolleiste mit VBA erstellen

Links und Downloads
  Bugs und Probleme

  Weitere Informationen
  Downloads

Return to Top


Allgemeines über Symbolleisten

 

Sub AddEditControl()
  Dim objControl As CommandBarControl
  Set objControl = Application.CommandBars("xxx").Controls.Add(msoControlEdit)
  With objControl
    .Width = 200
    .Tag = "MyEditControl"
    .OnAction = "ShowText"
    .Visible = True
  End With
  Set objControl = Nothing
End Sub

Sub ShowText()
  MsgBox Application.CommandBars("xxx").FindControl(Tag:="MyEditControl").Text
End Sub

 

 

 

Anpassen-Dialog.gif (7946 Byte)

 

Anpassen-Control-Menue.gif (4728 Byte)

 

Symbolleiste anbinden-Dialog.gif (6079 Byte)

 

Return to Top

Symbolleistenreport (Word 2000)
http://mypage.bluewin.ch/reprobst/Loesungen/WDSym1.pdf

Symbolleistenreport (Word 2000)
http://mypage.bluewin.ch/reprobst/Loesungen/SymXL1.zip


 

 

The following table lists CommandBar indices for Office 97 and their CommandBar name in Office 2000.

Office 2000                Office 97
CommandBar name            index 
---------------            ---------

Worksheet Menu Bar          1
Chart Menu Bar              2
Standard                    3
Formatting                  4
PivotTable                  5
Chart                       6
Reviewing                   7
Forms                       8
Stop Recording              9
External Data              10
Auditing                   11
Full Screen                12
Circular Reference         13
Visual Basic               14
Web                        15
Control Toolbox            16
Exit Design Mode           17
Drawing                    18
Query and Pivot            19
Workbook tabs              20
Cell                       21
Column                     22
Row                        23
Cell                       24
Column                     25
Row                        26
Ply                        27
XLM Cell                   28
Document                   29
Desktop                    30
Nondefault Drag and Drop   31
AutoFill                   32
Button                     33
Dialog                     34
Series                     35
Plot Area                  36
Floor and Walls            37
Trendline                  38
Chart                      39
Formula Bar                40
PivotTable Context Menu    41
Query                      42
Query Layout               43
AutoCalculate              44
Object/Plot                45
Title Bar (Charting)       46
Layout                     47
WordArt                    48
Picture                    49
Shadow Settings            50
3-D Settings               51
Borders                    52
Chart Type                 53
Pattern                    54
Font Color                 55
Fill Color                 56
Line Color                 57
Order                      58
Nudge                      59
Align or Distribute        60
Rotate or Flip             61
Lines                      62
Connectors                 63
AutoShapes                 64
Callouts                   65
Flowchart                  66
Block Arrows               67
Stars & Banners            68
Basic Shapes               69
Shapes                     70
Inactive Chart             71
Excel Control              72
Curve                      73
Curve Node                 74
Curve Segment              75
Pictures Context Menu      76
OLE Object                 77
ActiveX Control            78
WordArt Context Menu       79
Rotate Mode                80
Connector                  81
&Wizard                    82
Add Command                83
Built-in Menus             84
System                     85

 

The following CommandBar in Office 97 has changed its name in Office 2000:

Office 97            Office 97     Office 2000
CommandBar name      index         CommandBar name
---------------      ---------     ---------------

Wi&zard              82            &Wizard

 

The following CommandBars are new in Office 2000:

CommandBar name 
--------------- 

Refresh    
EuroPlaceholder_2000
PivotChart Menu  
Format Data Series 
Format Axis   
Format Legend Entry 
Pivot Chart Popup 
Phonetic Information  
Script Anchor Popup 
Clipboard   

Return to Top

 

ActionControl-Eigenschaft

Gibt das CommandBarControl-Objekt zurück, dessen OnAction-Eigenschaft auf die laufende Prozedur eingestellt ist. Wurde die laufende Prozedur nicht durch ein Befehlsleisten-Steuerelement initiiert, gibt diese Eigenschaft Nothing zurück. Nur-Lese-Zugriff.

In diesem Beispiel wird das Befehlsleisten-Steuerelement, das die laufende Prozedur initiiert hat, während der Ausführung einer Anweisungsserie deaktiviert. Anschließend wird das Steuerelement aktiviert.

Set dasSteuerelement = CommandBars.ActionControl
dasSteuerelement.Enabled = False
'hier OnAction-Prozeß einfügen
dasSteuerelement.Enabled = True

Return to Top

 

Links und Downloads

Bugs und Probleme

XL2000: Benutzerdefinierte Symbolleiste geht verloren, wenn Arbeitsmappe als Anlage versendet wird
http://support.microsoft.com/default.aspx?scid=kb;de;d43186

XL2000: Änderungen werden nach dem Modifizieren von Symbolleisten nicht gespeichert
http://support.microsoft.com/default.aspx?scid=kb;de;d43184

Return to Top

 

Weitere Informationen

OFFICE2000: CommandBar Indexes Different from Office 97
http://www.microsoft.com/?scid=kb;en-us;215149

Return to Top

 

Downloads

CommandBar CodeMaker 1.1
Downloadseite

Return to Top

WB01727_.gif (1537 Byte)

Haben Sie Fragen, Anregungen oder einen Fehler entdeckt?
Senden Sie mir ein Mail

Zuletzt aktualisiert am 26.02.2004 / 10:30 Uhr
© 2002-2004 by Philipp von Wartburg, CH-8917 Oberlunkhofen