+ Reply to Thread
Results 1 to 4 of 4

Overflow error

  1. #1
    Registered User
    Join Date
    04-12-2010
    Location
    singapore
    MS-Off Ver
    Excel 2007
    Posts
    96

    Talking Overflow error

    hi, all. during a run my macro, it occurs Run-time error '6': Overflow . Not sure where is the problem.
    Please Login or Register  to view this content.
    sorry cannot upload the example file as this is an company confidential information. Can anyone just give a suggestions???
    Thank you!
    Last edited by yjmmay34; 08-19-2010 at 11:28 AM.

  2. #2
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Overflow error

    Avoid using select in VBA-code.

    Please Login or Register  to view this content.

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Overflow error

    The Overflow will be caused by your use of Integer - change to Long.

  4. #4
    Registered User
    Join Date
    04-12-2010
    Location
    singapore
    MS-Off Ver
    Excel 2007
    Posts
    96

    Re: Overflow error

    Thank you, ote. you're right, i changed it to long then it can work.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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