Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 29th, 2008, 08:44 AM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error 50290: VBA in Excel 2003 doing strange thing

Hi, all,

I have a project created with VB from which I will load data from DB to a spreadsheet, because it takes time, I also create a small frame on which there is a progress bar.

My problems are:

1: while load data to spreadsheet, I use some codes like the following:

Worksheets("General Analysis").Activate
Range("B10").Select

ActiveCell.Offset(I, 0).Value = SF_ID
ActiveCell.Offset(I, 1).Value = SF_Toe
ActiveCell.Offset(I, 2).Value = fRGv

everything is fine, but if I scroll down or click the page, I will get runtime error:
Runtime error 50290, application-defined or object defined error"
and this error may happen in different line each time.

2: If I don't make the spreadsheet file showing on the window, instead, show progress bar. everything is also fine, but If I click on this form, a system alert will appear with two buttons: Switch and Retry (not all computer has this issue.).

How can I avoid these issue. I google this runtime error, a lots of posts but no answer.

Thanks!






Similar Threads
Thread Thread Starter Forum Replies Last Post
A strange thing in Micro's NewsAndArticle Chapter Magi ASP.NET 2.0 Professional 11 August 10th, 2007 10:31 PM
Excel 2003 VBA Function RollingWoodFarm Excel VBA 15 August 2nd, 2006 04:24 PM
FTP Upload from Excel 2003 VBA Jersey Eric Excel VBA 3 January 5th, 2006 09:29 AM
excel 2003 vba book xeugx Excel VBA 3 June 27th, 2005 11:35 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.