- Katılım
- 2 Mart 2005
- Mesajlar
- 2,960
- Excel Vers. ve Dili
-
ev: Ofis 2007- Win Xp
iş: Ofis 2010- Win Vista
Kod:
..................
Set cbCLL = CommandBars("Cell")
With cbCLL
Set SutGen_hcr = cbCLL.Controls.Add(msoControlButton)
With SutGen_hcr
.Caption = "Sütun &Genişliği Cm"
.OnAction = "sutun"
.FaceId = 2067
End With
Set SutGen_hcr = Nothing
...............
'Worksheet menü>Biçim> _
Satır [Yeni buton(Satır Genişliği Cm.)]/Cell Menü [yeni]/Row Menü [yeni]
Kod:
With .Controls.Add(Type:=msoControlButton, ID:=4)
.Visible = True
End With