Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default macro toolbar button problem

I've created a short macro and I've added a button to the excel toolbar (I'm
using excel 2007). The macro security setting is set to enable all
macros...but when I open up another excel sheet other than the one that the
macro was created in and try to run the macro.. I get the following error:

"Cannot run the macro "XXX". The macro may not be available in this
workbook or all macros may be disabled."

Any ideas on how to solve this problem? I'm sure it's probably easy but I
can't seem to figure it out. Thanks in advance!!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default macro toolbar button problem

I got it! Personal.xls in XLSTARTUP folder!

"NewToVB" wrote:

I've created a short macro and I've added a button to the excel toolbar (I'm
using excel 2007). The macro security setting is set to enable all
macros...but when I open up another excel sheet other than the one that the
macro was created in and try to run the macro.. I get the following error:

"Cannot run the macro "XXX". The macro may not be available in this
workbook or all macros may be disabled."

Any ideas on how to solve this problem? I'm sure it's probably easy but I
can't seem to figure it out. Thanks in advance!!

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
Macro button on toolbar Daniel Charts and Charting in Excel 0 August 27th 07 08:56 PM
Button with macro in toolbar Daniel Charts and Charting in Excel 1 August 25th 07 02:39 AM
Macro button on toolbar Lesley Excel Discussion (Misc queries) 2 August 28th 06 07:32 PM
Macro Toolbar Button Gary Excel Programming 1 September 29th 04 01:35 PM
Toolbar button To Run a Macro? jon Excel Programming 1 November 17th 03 07:07 PM


All times are GMT +1. The time now is 05:09 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"