cresbydotcom
Technical User
- May 22, 2006
- 234
OK I can assign icons manually but how to assign them in a macro.
I loose toolbars occasionally and rather than chase the rare event I can re-instate them with:
etc
but nothing seems to be appropriate for the icon - well none that will change in the watch window or even read as a single property (as opposed to an expanded list)
So is this a dead end? Or am I missing something.
TIA
there is a tide in the affairs of man that you Cnut ignore.................
I loose toolbars occasionally and rather than chase the rare event I can re-instate them with:
Code:
Application.CommandBars.Add(Name:="tester").Visible = True
Application.CommandBars("tester").Controls.Add _ Type:=msoControlButton, ID:= 2950, Before:=1
With Application.CommandBars("tester").Controls.Item(1)
.Caption = "CleanWL"
.Style = msoButtonCaption
.OnAction = "'C:\My Documents\zcodez3.xls'!rowdn"
End With
but nothing seems to be appropriate for the icon - well none that will change in the watch window or even read as a single property (as opposed to an expanded list)
So is this a dead end? Or am I missing something.
TIA
there is a tide in the affairs of man that you Cnut ignore.................