+ Reply to Thread
Results 1 to 4 of 4

Error 6 Overflow

  1. #1
    Registered User
    Join Date
    MS-Off Ver
    Excel 2003

    Error 6 Overflow

    I have developed a tracking register for complaints and had it working well with automated email function, I modified to to include another reminder and now I keep getting an error 6 overflow.

    Can someone please provide advice?
    Attached Files Attached Files

  2. #2
    Forum Expert pike's Avatar
    Join Date
    Alstonville, Australia
    MS-Off Ver

    Re: Error 6 Overflow

    Hi tekapo
    You dont have a sheet called "Complaints Register - DS"
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010

    Re: Error 6 Overflow

    Hello tekapo,

    Welcome to the Forum!

    You keep recreating the Outlook Application. You only need to create the Outlook Application at the very beginning of the code.
    Please Login or Register  to view this content.
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.

    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    Essex, UK
    MS-Off Ver

    Re: Error 6 Overflow

    Another point regards Overflow errors in general...

    When storing Row numbers in Variables it is always advisable to use a Long Type variable given Row boundaries exceed those of the Integer type.

    In VBA there's a general consensus that the Integer type is of very limited use given all Integers are in fact converted to Longs (and subsequently back to Integer) behind the scenes.
    On that basis most would say - just use Longs
    (or Byte if you know the value is going to be within Byte boundaries)

    Integer is useful if you want to deliberately generate an Overflow Debug but I would say that's an unlikely scenario (given you can just sanity check the value of the Long)
    Last edited by DonkeyOte; 10-03-2010 at 06:30 AM. Reason: reworded

+ Reply to Thread

Thread Information

Users Browsing this Thread

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


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