Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The test run cannot continue due to an unrecoverable error
#1
Not Solved Rolleyes 
Hi,

I am getting the error mentioned in subject. No matter what is the first line of the code, it fails at that part only by giving this error. Following is the starting piece of code.
-----------------------
Code:
Set ExcelApp = CreateObject("Excel.Application")
ExcelApp.Visible=true
-----------------------
Following is the code where I am getting error: Object required: 'God'
-----------------------
Code:
TheDate = Date( )
msgbox TheDate
GetDay = DatePart("d", TheDate)
GetMonth = DatePart("m", TheDate)
GetYear = DatePart("yyyy", TheDate)
MyDate = GetMonth & "/" & GetDay & "/" & GetYear
msgbox MyDate
With ExcelWS.UsedRange
    Set c = .Find (MyDate)
For each c in ExcelWS.UsedRange
If c = MyDate  then
                                                God = ExcelWS.UsedRange.Find(c)
                                                msgbox God
End If
            Set c = .FindNext(c)
Next
End With
FirstAddress= God.Address
SecondAddress =  God.Column
msgbox FirstAddress
msgbox SecondAddress

I am opening an excel application in which I want to write some results, which is later part. I am not able to do this. Please help!!!
Reply


Messages In This Thread
The test run cannot continue due to an unrecoverable error - by neerndg123 - 10-18-2012, 04:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  General run error when Exist fails msacks 1 1,660 02-08-2019, 02:12 AM
Last Post: Ankur
  "Continue to this website (not recommended)." Error we are getting kotaramamohana 7 28,101 07-21-2016, 09:55 PM
Last Post: Ranjith Nair
  Test Set Run automatically Santhosh311 0 2,290 04-14-2016, 06:06 PM
Last Post: Santhosh311
  HI, i'm having a run time error ,please help? Awzar 0 2,397 01-24-2015, 06:52 AM
Last Post: Awzar
  Browser("BrowserName").Back gives General Run Error... deminiek 13 17,689 12-10-2013, 12:53 AM
Last Post: rizvia

Forum Jump:


Users browsing this thread: 1 Guest(s)