Macro Buttons Outside of Workspace
Macro Buttons Outside of Workspace
(OP)
I seem to remember seeing an Excel spreadsheet where there were macro buttons to the left of the row numbers. I have now tried to find such a setting or function without success. Anyone familiar with such things?
RE: Macro Buttons Outside of Workspace
Make your own toolbar: Tools>Customize, Select New from the Toolbar tab.
Add your macros to that toolbar.
Drag it to the left (or right, top or bottom) until it attaches itself to that side.
Patrick
RE: Macro Buttons Outside of Workspace
RE: Macro Buttons Outside of Workspace
-pmover
RE: Macro Buttons Outside of Workspace
The Plawrence approach works best so far although I can only get the text laid out to be read from the left side of the screen. While I see you can create a small icon by editing, I have not found a way to either format the text or use a larger graphic.
To melone: I can't find anything about group or outline functions.
RE: Macro Buttons Outside of Workspace
the size of tool button can only be one of two sizes. There is an option button within the toolbars menu system that allows the user to use either regular size button or larger size buttons.
with regards to the text, the adjustments can be made via right clicking the desktop, choosing properties, selecting appearance tab and making adjustments there. not from within excel itself.
a suggestion is to activate tool tips, that way a nice little pop-up meessage show up when the mouse is within the toolbutton border.
-pmover
RE: Macro Buttons Outside of Workspace
Add a toolbar button in Excel
Go to your Excel VB Editor and double click on the module "ThisWorkbook". The following code will make a button and bound it to a macro everytime. The button and toolbar will be temporary. If you want it to be permanent, change the boolean to False.
Private Sub Workbook_Open()
'Add
Application.CommandBars.Add(Name:="Custom 1", Position:=msoBarTop, Temporary:=True).Visible = True
Application.CommandBars("Custom 1").Controls.Add Type:=msoControlButton, Id:=2950, Before:=1
Application.CommandBars("Custom 1").Controls.Item(1).OnAction = "Macro1"
End Sub
Private Sub Workbook_Close()
'Delete
'Application.CommandBars("Custom 1").Delete
End Sub
DimensionalSolutions@Core.com
While I welcome e-mail messages, please post all thread activity in these forums for the benefit of all members.