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: 1
Default Method 'Run' of object '_Global' failed when changing OS and Office versions

I am getting a Run-time error '1004': Method 'Run' of
object '_Global' failed when running the same code that
works perfectly on NT 4.0, Excel 97. Forced to move to
Win 2000 with Excel 2000. Not an Excel or VB expert, so
the Microsoft Knowledgebase hit didn't help me.

I have a subrouting called DoIt:

Sub DoIt()
Sheet1.Initializer
Sheet1.loadup
Sheet1.copyover
Sheet1.titles
Sheet1.BuildIOPacektsChart
Sheet1.BuildIOPacketErrsChart
Sheet1.Conv2html
Sheet1.ToGifs
Sheet1.SaveHtml

End Sub

It is called from the Auto_Open function to run when the
file is executed:

Public Sub Auto_Open()
' Will automatically run when this app is started.

Run ("Sheet1.DoIt")

Application.DisplayAlerts = False
' Quit - close down Excel.
Application.Quit

End Sub

The failure happens on the line: Run ("Sheet1.DoIt")

I have absolutely no idea where to even start. Any help
would be greatly appreciated.

Thanks.
Ronj
 
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
Range of Object _Global Failed Jeffrey Marks Charts and Charting in Excel 0 July 13th 11 07:33 PM
Method Add of object Validation Failed - please help Shokie New Users to Excel 1 July 10th 09 01:34 PM
Method 'Range' of object '_global' failed higherlimits Excel Discussion (Misc queries) 3 June 23rd 06 06:16 PM
runtime error 1004 method range of object '_global failed valdesd Excel Discussion (Misc queries) 2 October 6th 05 07:26 PM


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