Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Runtime Error

Hi,

I have this Excel Workbook that contains about 15 - 20
sheets, each containing data. On the first sheet is a
button that launches a macro to print the data out to an
XML format. Now, this has worked on several different
machines, but when it was run on one particular machine a
runtime error was generated:

Run-time error '-2147024770 (8007007e)':

Automation error
The specified module could not be found.

If you entered into the Debug mode, it took you to the line
containing the statement:

Set fs = CreateObject("Scripting.FileSystemObject")

I am at a loss. All the computers that use this run Excel
2000 and are run on Windows 2000. Any ideas as to the
reason for this runtime error? Any help would ge greatly
appreciated.

Thanks.

Michael
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Runtime Error


-----Original Message-----
Hi,

I have this Excel Workbook that contains about 15 - 20
sheets, each containing data. On the first sheet is a
button that launches a macro to print the data out to an
XML format. Now, this has worked on several different
machines, but when it was run on one particular machine a
runtime error was generated:

Run-time error '-2147024770 (8007007e)':

Automation error
The specified module could not be found.

If you entered into the Debug mode, it took you to the

line
containing the statement:

Set fs = CreateObject("Scripting.FileSystemObject")

I am at a loss. All the computers that use this run Excel
2000 and are run on Windows 2000. Any ideas as to the
reason for this runtime error? Any help would ge greatly
appreciated.

Thanks.

Michael
.


Your code is at a point where it is looking for the
Windows Scripting module (that contains the Scripting
object references you are trying to use) and probably is
not finding it on the suspect machine. My first thought
is that the required .dll file is missing on that
particular machine. With a bit of research you should
probably be able to find out the .dll file needed and see
if it is indeed missing, then put a copy on that machine
and I bet that would solve your problem.
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
xpath error? Runtime Error 13 type mismatch Steve M[_2_] Excel Discussion (Misc queries) 0 January 17th 08 01:16 AM
Runtime error '1004' General ODBC error star_lucas New Users to Excel 0 August 29th 05 04:09 PM
Excel 2003 Macro Error - Runtime error 1004 Cow Excel Discussion (Misc queries) 2 June 7th 05 01:40 PM
Syntax Error Runtime Error '424' Object Required sjenks183 Excel Programming 1 January 23rd 04 09:25 AM
Unknown where is the problem on the Runtime error - Automation error wellie Excel Programming 1 July 10th 03 08:12 AM


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