LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default change faceid



if you set the TAG property of each control when you create them
then later on you can search on that TAG.

like..

With Application.Commandbars("wka_toolbar")
With .Add(Type:=msoControlButton)
.Tag = "mitglieder"
.FaceId = 92
.Caption = "Mitglieder aktualisieren"
.Enabled = True
end with
End with

With application.commandbars("vka_toolbar").findcontrol (tag:="mitglieder")
.FaceId=1088
end with


keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool


masterphilch wrote:

Global schutz As CommandBarButton
Sub add_vka_toolbar()
Dim mybar As Object, abmeldung As CommandBarPopup, nachOrt As
CommandBarButton, _
nach_Name As CommandBarButton, loeschen As CommandBarButton, sortierung
As CommandBarPopup
Dim abmeldung_anlass As CommandBarButton

On Error GoTo ende:


'Generieren der Symbolleiste
Set mybar = CommandBars.Add(name:="vka_toolbar",
Position:=msoBarFloating, Temporary:=True)
mybar.Visible = True

'Hinzufügen der Buttons
Set Mitglieder =
CommandBars("vka_toolbar").Controls.Add(Type:=msoC ontrolButton)
Mitglieder.FaceId = 92
Mitglieder.Caption = "Mitglieder aktualisieren"
Mitglieder.Enabled = True

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Qn: .FaceID?? Michael Vaughan Excel Programming 3 September 6th 04 02:07 PM
FaceID Toolbar (The best one ever!) Jeremy Gollehon[_2_] Excel Programming 13 June 8th 04 11:05 PM
Button Faceid David Fixemer Excel Programming 2 February 21st 04 12:18 AM
Faceid 2003. Marc[_12_] Excel Programming 1 October 16th 03 02:52 PM
CommandBarButton.FaceId=? Tom Ogilvy Excel Programming 1 September 17th 03 05:28 PM


All times are GMT +1. The time now is 09:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"