PC Review


Reply
Thread Tools Rate Thread

Custom button-lock

 
 
carlos_ray86@hotmail.com
Guest
Posts: n/a
 
      6th Aug 2007
I noticed that when creating a custom button to start a macro it
doesn't always work. Sometime the custom button will be looking at a
different file. Is there anyway to just lock that button to only that
one macro and if it's not in that file then don't run. What's
happening is I move the excel file and then the custom button won't
work. Or if I rename the file the custom button will rename
automatically even if I don't want it to. Basically, if I have two
workbooks which ever is activate the button looks in that notebook and
then neither buttons on both workbooks work correctly. I hope someone
can understand what I'm saying and can help. Thanks

 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      6th Aug 2007
If the the workbook with the button is open and you change the workbook that
the button refers to, the reference will adjust. Avoid that condition. If
the workbook with the button is closed, then you can make all the changes you
want and the button will not change.

--
Regards,
Tom Ogilvy


"(E-Mail Removed)" wrote:

> I noticed that when creating a custom button to start a macro it
> doesn't always work. Sometime the custom button will be looking at a
> different file. Is there anyway to just lock that button to only that
> one macro and if it's not in that file then don't run. What's
> happening is I move the excel file and then the custom button won't
> work. Or if I rename the file the custom button will rename
> automatically even if I don't want it to. Basically, if I have two
> workbooks which ever is activate the button looks in that notebook and
> then neither buttons on both workbooks work correctly. I hope someone
> can understand what I'm saying and can help. Thanks
>
>

 
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
how do I undo the scroll lock, thscroll lock button does not work scroll lock Microsoft Excel Misc 3 19th Jul 2008 10:17 PM
disable lock button beside power button? =?Utf-8?B?Z2VvcmdlMQ==?= Windows Vista General Discussion 2 12th Jun 2007 09:18 PM
Allow elimination of keyboard lock when pressing caps lock button =?Utf-8?B?QmFycnk=?= Microsoft Word Document Management 2 28th Dec 2005 10:01 AM
How do I lock a radio button group if a N/A button is selected =?Utf-8?B?d29ycnkgYSBsb3Q=?= Microsoft Excel Misc 2 21st May 2005 08:33 PM
PowerPoint should have a Lock/Unlock button to lock the position . =?Utf-8?B?UGVpaHNpbg==?= Microsoft Powerpoint 2 3rd Feb 2005 01:47 PM


Features
 

Advertising
 

Newsgroups
 


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