![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Mar 2002
Posts: 73
|
i saw one that is really long, has any1 got a short piece of code, that will add a custom button onto the toolbars????
macro button pls lmk |
|
|
|
|
|
#2 |
|
New Member
Join Date: Feb 2002
Location: McKinney Texas
Posts: 6
|
Try this:
Sub AddButton() Application.CommandBars("Worksheet Menu Bar").Controls.Add Type:= _ msoControlButton, Id:=2950, Before:=11 End Sub |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|