LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Macros stopped working

I have an excel spreadsheet named 'CountyStats.xls' which has various
macros within. Up until a couple of days ago everything worked fine,
however now when i try to click a button to run a macro i get a
message saying 'The macro 'CountyStats.xls!G8' cannot be found. This
macro is saved in a module as:

Sub G8()
GameNo = 8
Call MatchDetails
End Sub

which calls the MatchDetails sub (which is a public sub) in another
module.

If i try to re-assign the button to the macro, I select the sub and
click ok but this gives me a message saying 'Reference must be to a
macro sheet'

What is confusing me too, is that on another sheet I have a button
which linkes to sub G7 (exactly the same as G8 but GameNo = 7), and
this works fine.

Any help would be much appreciated. Thanks

 
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
Add-in stopped working [email protected] Excel Programming 1 January 17th 07 05:49 PM
All of my Macros Stopped working! Is there a reference I might have unchecked? nbaj2k[_47_] Excel Programming 3 August 15th 06 06:04 PM
VB Stopped Working [email protected] Excel Worksheet Functions 1 April 28th 05 01:56 PM
excel 97 stopped working john f Excel Worksheet Functions 1 April 13th 05 11:52 PM
Tab stopped working -- SCOTT-- Excel Programming 0 October 2nd 03 09:14 PM


All times are GMT +1. The time now is 09:52 AM.

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

About Us

"It's about Microsoft Excel"