ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   toolbuttons and macros in excel 2007 (https://www.excelbanter.com/excel-discussion-misc-queries/181317-toolbuttons-macros-excel-2007-a.html)

trolle

toolbuttons and macros in excel 2007
 
I developed an application in excel 2003. The application incorporated use of
toolbuttons with associated macros.

When opening the application we discovered that the buttons referred to a
map on the memory stick, we used to transport the applicaton on. In the 2003
version this poses no problem - right click on the buttonbar and when the
dialogbox appears, right click on the button and choose the relevant macro -
but in the 2007 this is not possible, or is it? If so, how?


--
greetings

trolle

Jim Rech[_2_]

toolbuttons and macros in excel 2007
 
The UI is gone in Excel 2007. You'd have to use a macro:

CommandBars("xxx").Controls(1).OnAction = "abc"

--
Jim
"trolle" wrote in message
...
|I developed an application in excel 2003. The application incorporated use
of
| toolbuttons with associated macros.
|
| When opening the application we discovered that the buttons referred to a
| map on the memory stick, we used to transport the applicaton on. In the
2003
| version this poses no problem - right click on the buttonbar and when the
| dialogbox appears, right click on the button and choose the relevant
macro -
| but in the 2007 this is not possible, or is it? If so, how?
|
|
| --
| greetings
|
| trolle




All times are GMT +1. The time now is 09:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com