+ Reply to Thread
Results 1 to 8 of 8

Will it do any harm to the computer if I ignore the Overflow issue in Excel 2002

  1. #1
    Registered User
    Join Date
    01-27-2009
    Location
    Australia
    MS-Off Ver
    Excel 2002, 2010
    Posts
    42

    Question Will it do any harm to the computer if I ignore the Overflow issue in Excel 2002

    Hi all,

    I got a windows Xp laptop and MS Excel 2002 installed. The excel file has more than 33000 rows of data.
    Recently when I ran a simple macro to filter for specific data, an error popped up warning:
    Please Login or Register  to view this content.
    I deleted some of the rows to 30000 now, but the error still happened.
    I googled for some help and some people suggested me using this code:
    Please Login or Register  to view this content.
    And then the error never appeared again.

    But I am not sure if this will do any harm to my computer if I used this code.

    Please help if you could.

    Thanks
    Kitty

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Will it do any harm to the computer if I ignore the Overflow issue in Excel 2002

    Kiity,
    This error hides the problem, but does not solve the underlaying problem. You need to loop through the code using F8-stepping over and find out the error.

  3. #3
    Registered User
    Join Date
    01-27-2009
    Location
    Australia
    MS-Off Ver
    Excel 2002, 2010
    Posts
    42

    Re: Will it do any harm to the computer if I ignore the Overflow issue in Excel 2002

    Quote Originally Posted by AB33 View Post
    Kiity,
    This error hides the problem, but does not solve the underlaying problem. You need to loop through the code using F8-stepping over and find out the error.
    Thanks for the quick help.

    When I pressed F8, a yellow bar highlighting some lines in the code, does this mean there are errors in the codes?

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Will it do any harm to the computer if I ignore the Overflow issue in Excel 2002

    Yes, there are!
    On resume next skipps the error lines and you assume the code is working.

  5. #5
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Will it do any harm to the computer if I ignore the Overflow issue in Excel 2002

    95% likelihood is that you are using an Integer variable as a row number/counter. Change this to Long because Integer has a maximum value of 32767 and there are many more rows than that! The remaining 5% is most likely an inadvertent Integer value in a calculation that is too large for it.
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

  6. #6
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Will it do any harm to the computer if I ignore the Overflow issue in Excel 2002

    Kitty

    Can you post the code?
    If posting code please use code tags, see here.

  7. #7
    Registered User
    Join Date
    01-27-2009
    Location
    Australia
    MS-Off Ver
    Excel 2002, 2010
    Posts
    42

    Re: Will it do any harm to the computer if I ignore the Overflow issue in Excel 2002

    Quote Originally Posted by Norie View Post
    Kitty

    Can you post the code?
    Here is the code, Norie.
    I am still fixing the errors....

    Please Login or Register  to view this content.

  8. #8
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Will it do any harm to the computer if I ignore the Overflow issue in Excel 2002

    Please Login or Register  to view this content.
    for the aforementioned reasons.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 11-28-2012, 12:52 PM
  2. [SOLVED] Excel 2002 Security Issue
    By PA in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 12-03-2005, 10:35 AM
  3. [SOLVED] MS Excel 2002 attachment issue
    By MetalFRO in forum Excel General
    Replies: 3
    Last Post: 09-02-2005, 01:05 AM
  4. [SOLVED] Install 2002 & 2003 on same computer
    By Otto Moehrbach in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-23-2005, 05:07 PM
  5. Replies: 2
    Last Post: 01-20-2005, 10:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1