-
Macro line calling a VBA Script in Excel does not work
Hi,
I have a macro file in the old format (pre2003) that does a lot of complicated automated things. Since then (with help) I have developed some VBA scripts to enhance it.
Recently a need arised to make a call from the MACRO file to run a VBA script, and the system is complaining. The VBA script is fine. If you run it as a stand alone works perfectly.
Here is the MACRO line calling it:
=RUN('G:\PUBS\PP-MS\INVOICES\INVSALE.XLS'!Module1.InvoiceToBatch)
Macro file is in a separate file, opened and hidden : It is linked to the INVSALE.XLS sheet and the VBA script is in Module 1 in the INVSALE.XLS.
Basically, the process stops with an error on Macro line XX which has the following code:
=RUN('G:\PUBS\PP-MS\INVOICES\INVSALE.XLS'!Module1.InvoiceToBatch)
Can anyone point where this is falling down? 
Many tahnks.
Talāt
-
-
 Originally Posted by Hack
What is the error?
Macro error at cell
[Salemac.xlm]salemac!A289
Halt Step Continue
Cell Salemac!A289 has
=RUN('G:\PUBS\PP-MS\INVOICES\INVSALE.XLS'!Module1.InvoiceToBatch)
Similar Threads
-
By Hack in forum VB Classic
Replies: 1
Last Post: 09-10-2008, 02:40 PM
-
By Hack in forum VB Classic
Replies: 4
Last Post: 08-06-2008, 07:19 AM
-
By slimasian in forum .NET
Replies: 0
Last Post: 05-15-2008, 04:24 PM
-
By blayne in forum VB Classic
Replies: 1
Last Post: 11-17-2005, 07:14 PM
-
By Murray Foxcroft in forum Web
Replies: 5
Last Post: 11-02-2000, 03:42 AM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|