PC Review


Reply
Thread Tools Rate Thread

Buttons re-assigned themselves to the right macro name but in Book

 
 
BeSmart
Guest
Posts: n/a
 
      12th Mar 2010
Hi All
I have one workbook (created in excel 2003 for Mac) with multiple sheets,
formulas & macros.
The macros are linked to buttons which have come from the form menu.

I created the macro's in the current Workbook saved in "Module 1" and all
are "General".
The macros do tasks like:

- copying the current worksheet to a new workbook & clearing out items not
required (eg. named ranges, objects, buttons, etc)
- running data updates
- formatting cells etc.
During testing - they all worked great - with and without assigning them to
buttons...

I sent the workbook to the Users who use Windows PC's - Vista - Excel 2007.
The buttons worked great on the first click... but after that the error
message "Book1 could not be found"
appeared. The buttons all re-assigned themselves to "Book1" (which doesn't
exist)?
e.g. Book1!mba

How can I make the buttons stick to the assigned macros in the current
workbook.
I can't hard code a workbook name - as the workbook will be renamed / saved
as.
Can anyone help me with a way to avoid this from happening?
--
Thank for your help
BeSmart
 
Reply With Quote
 
 
 
 
BeSmart
Guest
Posts: n/a
 
      12th Mar 2010
One more piece of information..

The buttons are named ("extractmba" = Button 6) so that specific buttons can
be nominated and deleted during one of the macros.

Thank for your help
BeSmart
 
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
Can existing macros be assigned toolbar buttons? Sharon L. Microsoft Word Document Management 7 21st Aug 2009 09:17 AM
Website assigned to keyboard buttons always open in IE Denis Windows Vista General Discussion 3 1st Nov 2007 07:34 PM
copy macro assigned buttons in an array =?Utf-8?B?UGhhdGJveV9E?= Microsoft Excel Worksheet Functions 1 1st Dec 2004 10:01 PM
macros assigned to buttons Greegan Microsoft Excel Worksheet Functions 1 2nd Oct 2004 04:26 PM
Re: Buttons assigned to a macro Tokash Microsoft Excel Programming 0 12th Sep 2003 08:58 PM


Features
 

Advertising
 

Newsgroups
 


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