PC Review


Reply
Thread Tools Rate Thread

Button points to wrong macro

 
 
Paul H
Guest
Posts: n/a
 
      22nd Jul 2009
I have added a button at the left end of the toolbar, left of "new" and
"open". I want it to cause a macro to run. It does, but not the macro I
want it to - what it points to does not exist anymore. How do I change the
macro it will cause to run? TIA, Paul

 
Reply With Quote
 
 
 
 
Paul H
Guest
Posts: n/a
 
      22nd Jul 2009

I should have mentioned, I'm doing this with Excel 2003. What will it look
like in Excel 2007? Will it still work?

"Paul H" <(E-Mail Removed)> wrote in message
news:285E24D2-24C1-4233-A0EF-(E-Mail Removed)...
>I have added a button at the left end of the toolbar, left of "new" and
> "open". I want it to cause a macro to run. It does, but not the macro I
> want it to - what it points to does not exist anymore. How do I change
> the
> macro it will cause to run? TIA, Paul
>


 
Reply With Quote
 
Fred Smith
Guest
Posts: n/a
 
      22nd Jul 2009
Right-click on the Toolbar, choose Customize...
Right-click on your button, choose Assign Macro...
Specify the correct macro.
Close Excel (so it will remember the change).

Regards,
Fred


"Paul H" <(E-Mail Removed)> wrote in message
news:285E24D2-24C1-4233-A0EF-(E-Mail Removed)...
>I have added a button at the left end of the toolbar, left of "new" and
> "open". I want it to cause a macro to run. It does, but not the macro I
> want it to - what it points to does not exist anymore. How do I change
> the
> macro it will cause to run? TIA, Paul
>


 
Reply With Quote
 
Paul H
Guest
Posts: n/a
 
      22nd Jul 2009
Thank you Fred. That worked perfectly. With Excel 2003.

Now, when I run it with 2007, not 2003, where do I find the button?

"Fred Smith" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Right-click on the Toolbar, choose Customize...
> Right-click on your button, choose Assign Macro...
> Specify the correct macro.
> Close Excel (so it will remember the change).
>
> Regards,
> Fred
>
>
> "Paul H" <(E-Mail Removed)> wrote in message
> news:285E24D2-24C1-4233-A0EF-(E-Mail Removed)...
>>I have added a button at the left end of the toolbar, left of "new" and
>> "open". I want it to cause a macro to run. It does, but not the macro I
>> want it to - what it points to does not exist anymore. How do I change
>> the
>> macro it will cause to run? TIA, Paul
>>

>


 
Reply With Quote
 
Fred Smith
Guest
Posts: n/a
 
      22nd Jul 2009
You installed the button in 2003. You have to go through the same process to
install it in 2007. I don't do macros in 2007, so if you need help, start a
new post. Probably best to post it to the .programming group as they all do
macros.

Regards,
Fred

"Paul H" <(E-Mail Removed)> wrote in message
news:560448F6-077B-46AC-AF69-(E-Mail Removed)...
> Thank you Fred. That worked perfectly. With Excel 2003.
>
> Now, when I run it with 2007, not 2003, where do I find the button?
>
> "Fred Smith" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> Right-click on the Toolbar, choose Customize...
>> Right-click on your button, choose Assign Macro...
>> Specify the correct macro.
>> Close Excel (so it will remember the change).
>>
>> Regards,
>> Fred
>>
>>
>> "Paul H" <(E-Mail Removed)> wrote in message
>> news:285E24D2-24C1-4233-A0EF-(E-Mail Removed)...
>>>I have added a button at the left end of the toolbar, left of "new" and
>>> "open". I want it to cause a macro to run. It does, but not the macro
>>> I
>>> want it to - what it points to does not exist anymore. How do I change
>>> the
>>> macro it will cause to run? TIA, Paul
>>>

>>

>


 
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
Button points to wrong macro Paul H Microsoft Excel Misc 4 22nd Jul 2009 02:44 PM
Macro to create charts - Points to wrong sheet JDB Microsoft Excel Programming 3 19th Sep 2008 08:42 AM
URL points to the wrong homepage. =?Utf-8?B?UGV0ZQ==?= Microsoft Frontpage 2 23rd Jul 2005 09:56 AM
My Pictures points to wrong folder Walt G Windows XP Help 1 11th Jun 2005 11:08 AM
Mail button points wrong Sachssci Microsoft Outlook 5 15th Mar 2004 03:39 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:45 PM.