LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Toolbar macros

thanks...... these should help alot!!!!!!
"Tom Ogilvy" wrote in message
...
no, you can't get the "code" for the toolbars unless you turned on the

macro
recorder while you created them. You can't do it after the fact.


Here is an article about creating commandbars with code:
http://msdn.microsoft.com/library/techart/ofcmdbar.htm

http://support.microsoft.com/default...02&Product=xlw
How to customize menus and menu bars in Excel


http://support.microsoft.com/default...b;en-us;166755
File Title: Customizing Menu Bars, Menus, and Menu Items in Microsoft(R)
Excel 97
File Name: WE1183.EXE
File Size: 58041 bytes
File Date: 06/20/97
Keywords: kbfile kbappnote
Description: This Application Note can help you learn techniques for

writing
Visual Basic(R) for Applications code to customize menus in Microsoft

Excel
97. This Application Note contains code examples that you can use with the
following elements: menu bars, menus, menu items, submenus, and shortcut
menus.

--
Regards,
Tom Ogilvy

"TMAC" wrote in message
...
Yes. I saw this one. Thats why im asking #2 and the cut
and past question... Pasted below.... Any Ideas???
thanks.... tim... btw, can I get this in a newsgroup
reader such as express? Im using the web based form which
makes it harder to keep track....

2) I also had a sugesstion to make the toolbars when the
sheet opened by using the commandbar vbe but not quite
sure how to do this.

I have the toolbars made. Is there a way to access the
code for these toolbars so I don't have to learn the

code
and re-create the toolbars. Would like to cut and past

if
possible.

Or a way to do Me!macroname.....




-----Original Message-----
You posted it

1 response:
Hi TMAC;

Yes;

You can put an auto_open macro in the workbook and have it
build a menu each time it opens. One of the options when
you do this is to have the menu be temporary which means
it will automatically not be there the next time Excel is
opened.

You can find out how to do this by looking in the VBA help
under commandbars

Thanks,

Greg

--
Regards,
Tom Ogilvy


"TMAC" wrote in

message
...
I thought I posted this but couldn't find it again.. so
here it is again (maybe)

1) I copied the macros to the myworkbook module. That
solved the buttons running the macros after the sheet

was
saved to a different name.

2) I also had a sugesstion to make the toolbars when the
sheet opened by using the commandbar vbe but not quite
sure how to do this.

I have the toolbars made. Is there a way to access the
code for these toolbars so I don't have to learn the

code
and re-create the toolbars. Would like to cut and past

if
possible.

Or a way to do Me!macroname.....

thanks

tim


.







 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Putting macros on a toolbar Dudley Excel Discussion (Misc queries) 2 February 24th 06 01:21 PM
toolbar macros Ned Kelly Excel Discussion (Misc queries) 0 December 22nd 05 03:52 PM
Toolbar Buttons and Macros available always Jerry[_14_] Excel Programming 3 August 20th 04 09:06 PM
Toolbar with Macros Mark Excel Programming 1 February 2nd 04 11:04 AM
Toolbar with Macros bw Excel Programming 4 July 31st 03 01:12 AM


All times are GMT +1. The time now is 04:26 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"