+ Reply to Thread
Results 1 to 5 of 5

Hidden problem with a formula of the VBE

  1. #1
    Registered User
    Join Date
    07-01-2014
    Location
    Toulouse
    MS-Off Ver
    Office 2007
    Posts
    9

    Angry Hidden problem with a formula of the VBE

    Hello everybody,

    I've worked on a file who permits to exploit a database. This database includes many informations about the sizing and the weight of packagings. This informations used to calculate the palettization.

    The calculations give the following results :

    - Number of box / coat
    - Number of coat on the pallet
    - Number of box / pallet
    - Height of pallet
    - Weight pallet

    The problem is in the pallet's weight. To calcul this, the formula is :

    Weight = Nb box * weight gross (of 1 box) + 20 (Kg, Weight pallet)

    When I simulate a calcul with any box, I don't have the good result, always less than the real result. But the formula is writting good.

    Attachment 329104

    Normally, we have to find 168 kg and not 140...
    Calcul = 40 * 3.7 + 20 = 168 kg

    Someone can find the error in the writting vbe ? Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Hidden problem with a formula of the VBE

    where are the wrong calculations ?
    Last edited by patel45; 07-01-2014 at 05:55 AM.
    If solved remember to mark Thread as solved

  3. #3
    Registered User
    Join Date
    07-01-2014
    Location
    Toulouse
    MS-Off Ver
    Office 2007
    Posts
    9

    Re: Hidden problem with a formula of the VBE

    The wrong calculations is located in the code of the user form, in the part named "CALCULS"

  4. #4
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Hidden problem with a formula of the VBE

    very big help !
    thank you

  5. #5
    Registered User
    Join Date
    07-01-2014
    Location
    Toulouse
    MS-Off Ver
    Office 2007
    Posts
    9

    Re: Hidden problem with a formula of the VBE

    Excuse me, I don't know many things about the writing vba...

+ 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. hidden column problem
    By RayMith in forum Excel General
    Replies: 2
    Last Post: 03-19-2009, 06:51 AM
  2. Problem with hidden columns while editing a formula
    By loopoo in forum Excel General
    Replies: 0
    Last Post: 02-14-2008, 05:11 AM
  3. Hidden cell problem
    By kanuvas in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-14-2005, 11:10 AM
  4. Problem with Hidden Worksheet
    By Shatin in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-04-2005, 03:05 AM
  5. Problem cuz of Hidden sheet
    By helmekki in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-12-2005, 06:45 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