Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default Macro cannot be found, but it is there?

This is driving me crazy,
I am using Excel 2002, and I have a workbook that runs several macros.
There are several main macros that call other smaller macros periodically.

The problem I have is when I try to run one of the main macros it errors out
everytime it gets to the point where it wants to call one of the smaller
macros. It says the macro cannot be found.

All the macros are within the same workbook, and are in the same module.
None of them are private either.

Here's the weird part...
If I rename the workbook and also change the workbook name in every location
where one of the smaller macros is called it will work again. It works until
I close the workbook and open it up again, at that point it errors out again.
It will then work again if I change the workbook name again (this is an
endless process).

The question is: Is there something I need to change to allow these macros
to be found all the time without having to rename everything?

Thank you so much,
Brad
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,986
Default Macro cannot be found, but it is there?

Hard to tell without seeing the code.

"bwilk77" wrote:

This is driving me crazy,
I am using Excel 2002, and I have a workbook that runs several macros.
There are several main macros that call other smaller macros periodically.

The problem I have is when I try to run one of the main macros it errors out
everytime it gets to the point where it wants to call one of the smaller
macros. It says the macro cannot be found.

All the macros are within the same workbook, and are in the same module.
None of them are private either.

Here's the weird part...
If I rename the workbook and also change the workbook name in every location
where one of the smaller macros is called it will work again. It works until
I close the workbook and open it up again, at that point it errors out again.
It will then work again if I change the workbook name again (this is an
endless process).

The question is: Is there something I need to change to allow these macros
to be found all the time without having to rename everything?

Thank you so much,
Brad

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default Macro cannot be found, but it is there?

I actually just figured this out, I did a find and replace for the the name
of the workbook and accidentally left out the .xls at the end of the name.
Thanks for the response.

"JLGWhiz" wrote:

Hard to tell without seeing the code.

"bwilk77" wrote:

This is driving me crazy,
I am using Excel 2002, and I have a workbook that runs several macros.
There are several main macros that call other smaller macros periodically.

The problem I have is when I try to run one of the main macros it errors out
everytime it gets to the point where it wants to call one of the smaller
macros. It says the macro cannot be found.

All the macros are within the same workbook, and are in the same module.
None of them are private either.

Here's the weird part...
If I rename the workbook and also change the workbook name in every location
where one of the smaller macros is called it will work again. It works until
I close the workbook and open it up again, at that point it errors out again.
It will then work again if I change the workbook name again (this is an
endless process).

The question is: Is there something I need to change to allow these macros
to be found all the time without having to rename everything?

Thank you so much,
Brad

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
"No RETURN() or HALT() function found on macro sheet." Will Excel Worksheet Functions 2 January 4th 07 10:10 PM
No RETURN() or HALT() function found on macro sheet [email protected] Excel Discussion (Misc queries) 3 September 26th 06 03:35 PM
Macro cannot be found Barney Excel Discussion (Misc queries) 2 April 4th 06 01:21 PM
IF NOT FOUND roy.okinawa Excel Worksheet Functions 5 November 17th 05 03:26 AM
Macro not found when spreadsheet viewed in Internet Explorer? Ben Excel Discussion (Misc queries) 1 February 10th 05 07:31 PM


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