Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default My menu calls an old macro

I have created my own menu and connected a macro to my own ikon. I have then
renamed the spreadsheet. When opened on another PC my ikon does not work. It
calls the right macro but wants to open the spreadsheet with the old name.
How do I fix this?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default My menu calls an old macro

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)

Claus Højlund wrote:

I have created my own menu and connected a macro to my own ikon. I have then
renamed the spreadsheet. When opened on another PC my ikon does not work. It
calls the right macro but wants to open the spreadsheet with the old name.
How do I fix this?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default My menu calls an old macro

Dear Dave
My life has become much simpler. I used your version to create and delete a
menubar. Very nice code. Thanks a lot for your help.
Best regards
Claus Højlund

"Dave Peterson" wrote:

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)

Claus Højlund wrote:

I have created my own menu and connected a macro to my own ikon. I have then
renamed the spreadsheet. When opened on another PC my ikon does not work. It
calls the right macro but wants to open the spreadsheet with the old name.
How do I fix this?


--

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
Problem in updating all worksheets of a workbook using a macro that calls another macro [email protected] Excel Programming 3 March 20th 06 05:21 AM
API calls, an Event handler, custom menu bar and modal DrivenByHim Excel Programming 1 February 9th 06 01:12 AM
one macro calls the other ebony Excel Programming 1 January 7th 04 05:27 AM
Macro Calls lchhat Excel Programming 5 November 14th 03 03:56 PM
"This macro calls that macro, which calls .."-how many? Ed[_9_] Excel Programming 2 November 3rd 03 10:02 PM


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