#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Raybs
 
Posts: n/a
Default Excel Macros

I have an Excel macro application run beautifully on a PC using Excel-97. I
cannot get it to run on other PC's (same vintage) in my office. I want to
upgrade all PC's and version of Excel being used, but I am reluctant to start
the upgrade process until I can get the macro working on more than one PC.
When I click on the macro icon I get the message "The macro ProductionOrder
cannot be found".

I can see that ProductionOrder is a subroutine within a Visual Basic macro,
but copying that file to my test PC does not overcome the problem. Does
anybody have any ideas?

Ray
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max
 
Posts: n/a
Default Excel Macros

Just some thoughts ..

The sub: ProductionOrder could be one located within Personal.xls
rather than the file/book itself.

When you do an ALT+F8 on the original PC, does it appear in the Macro dialog
as: Personal.xls!ProductionOrder ? (rather than just: ProductionOrder)

If so, try copy the sub over from Personal.xls to the file itself in VBE's*
project explorer's window then save the file. Now the file will carry the sub.
*Press ALT+F11 to go to VBE, the project explorer window should be tiled on
the top left [titled: Project - VBAProject]. Press CTRL+R to make it visible
if necess.

To copy the sub, in VBE's project explorer's window, find & drag the module:
ProductionOrder from amongst those listed under Modules in VBAProject
(Personal.xls), then drop it into VBAProject (<your file.xls)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Raybs" wrote:
I have an Excel macro application run beautifully on a PC using Excel-97. I
cannot get it to run on other PC's (same vintage) in my office. I want to
upgrade all PC's and version of Excel being used, but I am reluctant to start
the upgrade process until I can get the macro working on more than one PC.
When I click on the macro icon I get the message "The macro ProductionOrder
cannot be found".

I can see that ProductionOrder is a subroutine within a Visual Basic macro,
but copying that file to my test PC does not overcome the problem. Does
anybody have any ideas?

Ray

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max
 
Posts: n/a
Default Excel Macros

Slight clarification to line:
When you do an ALT+F8 on the original PC ..


Line reads clearer as:
In your file, when you do an ALT+F8 on the original PC ..


--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
How to remove excel macros still there after normal delete? James Excel Discussion (Misc queries) 1 April 20th 06 09:45 PM
I deleted all macros in Excel but still get dialog box VenitaC Excel Discussion (Misc queries) 2 September 19th 05 07:05 PM
Are macros created in Excel 2003 compatible with Excel 5.0/95? Hakmui Excel Discussion (Misc queries) 1 August 31st 05 01:33 AM
How do I update Excel 2000 macros to work in Excel 2002? BobPetrich Excel Discussion (Misc queries) 3 January 4th 05 04:06 PM


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