Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default can't find macros in template

hi

I have been trying to create a template for excel that will be th
standard and only template used in a system we are building. I hav
created the template and saved it but each time I click on the custo
buttons on a new menu bar I get an error messgae saying it cannot fin
the macro. I saved the template as EDMS.xlt. Even when I double clic
it from Windows Explorer and try clicking the custom buttons, the
don't work. I have created templates in word and powerpoint succesfull
but Excel is proving to be elusive.

Does anyone have any ideas

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default can't find macros in template

If this is a real template, then when you open it (it must be opend to run
the code), it probaby renames itself. this might be part of the problem.
Perhaps you should create your buttons with code in the template.

you can check what the assignment is for the buttons:

sMacro = application.CommandBars("Custom 1").Controls(1).OnAction
msgbox sMacro

--
Regards,
Tom Ogilvy



"richperfect " wrote in message
...
hi

I have been trying to create a template for excel that will be the
standard and only template used in a system we are building. I have
created the template and saved it but each time I click on the custom
buttons on a new menu bar I get an error messgae saying it cannot find
the macro. I saved the template as EDMS.xlt. Even when I double click
it from Windows Explorer and try clicking the custom buttons, they
don't work. I have created templates in word and powerpoint succesfully
but Excel is proving to be elusive.

Does anyone have any ideas?


---
Message posted from http://www.ExcelForum.com/



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
Macros for template Mike New Users to Excel 1 November 21st 09 07:35 PM
Template with macros reddog9069 Excel Discussion (Misc queries) 2 July 19th 05 03:51 PM
Where do I find a template for a high school template? pluspoola Excel Discussion (Misc queries) 0 July 1st 05 02:35 AM
Macros in Template Dick Johnson Excel Programming 2 December 22nd 03 11:34 PM
Macros in a template Michelle Excel Programming 1 October 16th 03 01:54 PM


All times are GMT +1. The time now is 04:49 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"