Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Custom menus

I have created a workbook for another user and there are limited functions
that they require. Hence, I have customized the toolbar and the menu
options available.

However, I am noticing that when I open other workbooks for personal use,
those SAME menu options have been carried forward to ALL of my workbooks.
Obviously, I need full menus and options for my other workbooks, but when I
load this workbooks on the user's computer, I need them to have limited
functionality on this particular workbook.

Question: How do I setup a custom toolbar that is carried along with the
specific workbook? When this user opens the workbook, I need them to have
the menus I have setup. Yet, when they open their other excel documents, I
need them to have their normal full menus.

Help?

-Stephen


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Custom menus

that option ended with xl95. Now you have to write code that does that as
the action occurs. As the leave your workbook, you restore the menus with
your code. When you enter the workbook, you modify the menus to reflect
your requirements. This is controlled by programming the events that trigger
the action. If you are not familiar with events, see Chip Pearson's page
on Events

http://www.cpearson.com/excel/events.htm

--
Regards,
Tom Ogilvy

"Stephen" wrote in message
...
I have created a workbook for another user and there are limited functions
that they require. Hence, I have customized the toolbar and the menu
options available.

However, I am noticing that when I open other workbooks for personal use,
those SAME menu options have been carried forward to ALL of my workbooks.
Obviously, I need full menus and options for my other workbooks, but when

I
load this workbooks on the user's computer, I need them to have limited
functionality on this particular workbook.

Question: How do I setup a custom toolbar that is carried along with the
specific workbook? When this user opens the workbook, I need them to have
the menus I have setup. Yet, when they open their other excel documents,

I
need them to have their normal full menus.

Help?

-Stephen




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Custom menus

Tom -

Is there a link you can provide that is a good step-by-step instruction for
doing teh following:

1. Create a custom menu (I know how to create the memu, but it loads for ALL
of my Excel programs)
2. Save that custom menu as some "package" that can be loaded when a
specific workbook opens
3. Attach that "package" to a workbok so it can be distributed with that
Workbook.

-Stephen


"Tom Ogilvy" wrote in message
...
that option ended with xl95. Now you have to write code that does that as
the action occurs. As the leave your workbook, you restore the menus with
your code. When you enter the workbook, you modify the menus to reflect
your requirements. This is controlled by programming the events that
trigger
the action. If you are not familiar with events, see Chip Pearson's page
on Events

http://www.cpearson.com/excel/events.htm

--
Regards,
Tom Ogilvy

"Stephen" wrote in message
...
I have created a workbook for another user and there are limited
functions
that they require. Hence, I have customized the toolbar and the menu
options available.

However, I am noticing that when I open other workbooks for personal use,
those SAME menu options have been carried forward to ALL of my workbooks.
Obviously, I need full menus and options for my other workbooks, but when

I
load this workbooks on the user's computer, I need them to have limited
functionality on this particular workbook.

Question: How do I setup a custom toolbar that is carried along with the
specific workbook? When this user opens the workbook, I need them to
have
the menus I have setup. Yet, when they open their other excel documents,

I
need them to have their normal full menus.

Help?

-Stephen






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Custom menus

No, because there is no custom package. You have to create it with code.

Here is an article which talks about attaching toolbars:

http://www.microsoft.com/exceldev/articles/toolbatt.htm

but I suspect that is what you do now, so it is only for completeness

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

Here is another article or two you might find useful:
http://msdn.microsoft.com/library/ba...n_addins97.htm
http://msdn.microsoft.com/library/of...exceladdin.htm
http://www.microsoft.com/exceldev/tips/addins.htm
These are about distributing applications

http://support.microsoft.com/?id=159619
XL97: Sample Macros for Customizing Menus and Submenus

http://support.microsoft.com/?id=213550
XL2000: Sample Macros for Customizing Menus and Submenus


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.

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

--
Regards,
Tom Ogilvy


"Stephen" wrote in message
...
Tom -

Is there a link you can provide that is a good step-by-step instruction

for
doing teh following:

1. Create a custom menu (I know how to create the memu, but it loads for

ALL
of my Excel programs)
2. Save that custom menu as some "package" that can be loaded when a
specific workbook opens
3. Attach that "package" to a workbok so it can be distributed with that
Workbook.

-Stephen


"Tom Ogilvy" wrote in message
...
that option ended with xl95. Now you have to write code that does that

as
the action occurs. As the leave your workbook, you restore the menus

with
your code. When you enter the workbook, you modify the menus to reflect
your requirements. This is controlled by programming the events that
trigger
the action. If you are not familiar with events, see Chip Pearson's

page
on Events

http://www.cpearson.com/excel/events.htm

--
Regards,
Tom Ogilvy

"Stephen" wrote in message
...
I have created a workbook for another user and there are limited
functions
that they require. Hence, I have customized the toolbar and the menu
options available.

However, I am noticing that when I open other workbooks for personal

use,
those SAME menu options have been carried forward to ALL of my

workbooks.
Obviously, I need full menus and options for my other workbooks, but

when
I
load this workbooks on the user's computer, I need them to have limited
functionality on this particular workbook.

Question: How do I setup a custom toolbar that is carried along with

the
specific workbook? When this user opens the workbook, I need them to
have
the menus I have setup. Yet, when they open their other excel

documents,
I
need them to have their normal full menus.

Help?

-Stephen








Reply
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
Please Help Me with Custom menus Mr BT Excel Worksheet Functions 7 July 4th 06 05:15 PM
Custom faces for custom menus/commandbars Stu Valentine Excel Programming 1 September 17th 04 04:28 AM
custom menus Bob Phillips[_6_] Excel Programming 3 May 6th 04 10:31 PM
Custom menus Lee Excel Programming 4 November 12th 03 11:53 PM
Custom Menus Andy Wiggins[_2_] Excel Programming 0 September 19th 03 06:10 AM


All times are GMT +1. The time now is 11:12 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"