PC Review


Reply
Thread Tools Rate Thread

Custom Toolbars does not retain Button

 
 
=?Utf-8?B?amZpdHpwYXQ=?=
Guest
Posts: n/a
 
      15th Aug 2007
I have a custom button that runs the macro at the bottom of this msg.
I saved this custom button on a Custom Menu which I saved in my worksheet.
When I reopen the locked spreadsheet, the custom button and toolbar show up
fine for me. When I email the file to others and they open it, they can see
the toolbar but the button is gone. They can run the macro manually. Can
someone tell me why the button disappears and how I can save this toolbar and
button only within this one spreadsheet? thx....

Sub Spell_Check()
ActiveSheet.Unprotect Password:="pmo"
Cells.CheckSpelling "SRdictionary.dic", SpellLang:=1033
ActiveSheet.Protect Password:="pmo", DrawingObjects:=True, _
Contents:=True, Scenarios:=True
End Sub





 
Reply With Quote
 
 
 
 
Gord Dibben
Guest
Posts: n/a
 
      15th Aug 2007
Customizations to menus and toolbars are saved in your Excelxx.xlb file, not
with the workbook.

You can create the menu and the button when the workbook opens using code.

See Debra Dalgleish's site for more on this.

http://www.contextures.on.ca/xlToolbar02.html


Gord Dibben MS Excel MVP

On Tue, 14 Aug 2007 16:56:02 -0700, jfitzpat
<(E-Mail Removed)> wrote:

>I have a custom button that runs the macro at the bottom of this msg.
>I saved this custom button on a Custom Menu which I saved in my worksheet.
>When I reopen the locked spreadsheet, the custom button and toolbar show up
>fine for me. When I email the file to others and they open it, they can see
>the toolbar but the button is gone. They can run the macro manually. Can
>someone tell me why the button disappears and how I can save this toolbar and
>button only within this one spreadsheet? thx....
>
>Sub Spell_Check()
> ActiveSheet.Unprotect Password:="pmo"
> Cells.CheckSpelling "SRdictionary.dic", SpellLang:=1033
> ActiveSheet.Protect Password:="pmo", DrawingObjects:=True, _
> Contents:=True, Scenarios:=True
>End Sub
>
>
>
>


 
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
Word not retain custom toolbars, shortcut keys, or other settings =?Utf-8?B?QXJhaXphNDQ0?= Microsoft Word Document Management 1 9th Aug 2006 09:10 PM
save/export custom button image for toolbars =?Utf-8?B?cmVkcnV0aGFubg==?= Microsoft Excel Programming 1 15th Apr 2006 06:48 PM
Taskbar Toolbars don't retain settings M K Windows XP General 8 30th Sep 2004 08:59 AM
Whats this button help on custom toolbars DP Microsoft Access Getting Started 0 7th Sep 2004 01:42 AM
What's this button on custom toolbars DP Microsoft Access Getting Started 0 6th Aug 2004 05:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:02 AM.