I am trying to add a button that contains a macro to the toolbar in Word. However, I keep getting an object required error when I run the following code:
Toolbars.ToolbarButtons.Add ("Table of Contents")
Toolbars("Table of Contents").ToolbarButtons.Add Button:=231, Before:=1
Toolbars("Table of Contents").Visible = True
Toolbars("Table of Contents").ToolbarButtons(1).OnAction = "TOC"
I'm not familiar with adding macros to the toolbar so any help is appreciated.
Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…