+ Reply to Thread
Results 1 to 5 of 5

Overflow error when opening the Userform

  1. #1
    Forum Contributor
    Join Date
    08-08-2012
    Location
    englang
    MS-Off Ver
    Excel 2010
    Posts
    152

    Overflow error when opening the Userform

    Hi,

    I have a problem with the userform, it was working fine until i have deleted some data from the DataBase sheet and now when i click button to open the userform it says "Run-time error '6': Overflow".

    I use this database at work and now it have crashed and i dont have a working copy.

    Maybe somebody can help me with this issue below i have attached the sample file. Thanks in advance.
    Attached Files Attached Files

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

    Re: Overflow error when opening the Userform

    Label73's caption is '0', so you are dividing by zero here:
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  3. #3
    Forum Contributor
    Join Date
    08-08-2012
    Location
    englang
    MS-Off Ver
    Excel 2010
    Posts
    152

    Re: Overflow error when opening the Userform

    Hi Norie is there any error handler can be created to avoid this error.

    Thanks for your help

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

    Re: Overflow error when opening the Userform

    You could test for '0'.
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    08-08-2012
    Location
    englang
    MS-Off Ver
    Excel 2010
    Posts
    152

    Re: Overflow error when opening the Userform

    Brilliant as always Norie, thanks alot.

+ 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. [SOLVED] Userform Date Format Error 6 Overflow
    By Prexcel in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-17-2014, 12:39 PM
  2. Explanation of the Run-time error '6': Overflow Error
    By mgphill in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-25-2012, 10:46 AM
  3. Want to do a while-loop but get error message: run error '6' overflow
    By danzi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-07-2011, 01:48 PM
  4. Overflow Error
    By Jonathan78 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-29-2011, 05:54 AM
  5. Out of Subscript error while opening a Userform
    By shivboy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-22-2006, 07:07 AM

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