Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Office XP: runtime error '50290' Application Defined or object defined

Status
Not open for further replies.

nkardas

Computer
May 17, 2003
2
Hi,
I use a VBA add-in to write into a Excel worksheet. This add-in uses a
dll to get Real Time data from a server.
Everything works perfectly on Office 97 and office 2000.
I have an issue with OfficeXP: sometime (yes, it does not happen all
the time...), when the VBA add-in tries to write into an excel sheet,
I get the following error:
runtime error '50290' Application Defined or object defined error

The line where it breaks is:
Wb.Worksheets("Sheet1").Cells(RowNbr,ColNbr).Value = myValue

myValue is an Integer, less than 100
Wb is the workbook object
RowNbr and ColNbr are Integer (their value is less than 10)


I need help. I have looked in many newsgroups but I cannot find what
is the issue. I have a deleverable on Wed this week...

Thanks.
 
Replies continue below

Recommended for you

Have you tried the Tek-Tips forum? There are more resources available there for this type of question

TTFN
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor