#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default xla problem

Hi

Ive created an xla to run a macro, the button shows up correctly when
starting up excel, however, when pressing the button i get the mesage:

"Book1.xls could not be found....."

Theres no reference to Book1 anywhere in the macro so i'm not too sure
why its looking for it.

Any ideas?
Thanks for any suggestions.
Paul

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default xla problem

I bet the button is still trying to run the macro in book1.xls (where you did
your first development???).

Your life will become much simpler if you include code to create the toolbar
when the workbook is opened and include code to destroy the toolbar when the
workbook is closed.

For additions to the worksheet menu bar, I really like the way John Walkenbach
does it in his menumaker workbook:
http://j-walk.com/ss/excel/tips/tip53.htm

Here's how I do it when I want a toolbar:
http://www.contextures.com/xlToolbar02.html
(from Debra Dalgleish's site)

wrote:

Hi

Ive created an xla to run a macro, the button shows up correctly when
starting up excel, however, when pressing the button i get the mesage:

"Book1.xls could not be found....."

Theres no reference to Book1 anywhere in the macro so i'm not too sure
why its looking for it.

Any ideas?
Thanks for any suggestions.
Paul


--

Dave Peterson
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
Started out as an Access problem. Now an Excel problem RobertM Excel Discussion (Misc queries) 2 April 26th 06 07:30 PM
problem with a conditional max problem Brian Cornejo Excel Discussion (Misc queries) 1 February 18th 05 06:25 PM


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

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"