PC Review


Reply
Thread Tools Rate Thread

Command/Menu bar & assigned macros

 
 
RITCHI
Guest
Posts: n/a
 
      29th Jan 2007
Hi

I've created a menu bar with custom buttons and assigned macros to the
buttons.
It works fine on my personal computer but when I copy the file to
colleagues and they open it, the menu bar fails to work; the buttons
don't appear to retain the assigned macros.
A custom form "Menu" that has buttons with macros assigned works OK.

Is there a way that the command bar/menu bar can be programmed to open
only with a specified workbook?
How can the I solve the problem of the assigned macros on the command
bar buttons when the file is copied/sent to another computer?

The code I have for loading the command bar and opening the custom
form is as below.
".....
Application.CommandBars("XYZ").Visible = True
Menu.Show
End Sub"

Any help would be gratefully received.

Ritchi

 
Reply With Quote
 
 
 
 
Alan
Guest
Posts: n/a
 
      30th Jan 2007
Hi Ritchi,

You can check the security settings on their computer for a quick check. If
their setting are on high your code can not run.

The workbook, opened on another computer, must contain all of the code
necessary to do everything you are trying to accomplish. Check and see if
some of the code resides in the modules located on your computer and is not
located in the file.

Alan


"RITCHI" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi
>
> I've created a menu bar with custom buttons and assigned macros to the
> buttons.
> It works fine on my personal computer but when I copy the file to
> colleagues and they open it, the menu bar fails to work; the buttons
> don't appear to retain the assigned macros.
> A custom form "Menu" that has buttons with macros assigned works OK.
>
> Is there a way that the command bar/menu bar can be programmed to open
> only with a specified workbook?
> How can the I solve the problem of the assigned macros on the command
> bar buttons when the file is copied/sent to another computer?
>
> The code I have for loading the command bar and opening the custom
> form is as below.
> ".....
> Application.CommandBars("XYZ").Visible = True
> Menu.Show
> End Sub"
>
> Any help would be gratefully received.
>
> Ritchi
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add menu command in v2003 Macros SurfinSlate Microsoft Access Macros 1 19th Nov 2009 01:22 PM
Macros assigned to Menu Items Techtrainer Microsoft Excel Programming 2 17th Sep 2008 03:42 PM
Macros and Menu Command =?Utf-8?B?bWFyeQ==?= Microsoft Excel Misc 2 7th Sep 2007 07:00 PM
Macros in Personal.xls that would create two toolbars and buttonswith assigned macros =?Utf-8?B?SmF5?= Microsoft Excel Programming 1 30th Mar 2007 12:02 AM
macros assigned to buttons Greegan Microsoft Excel Worksheet Functions 1 2nd Oct 2004 04:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:56 PM.