+ Reply to Thread
Results 1 to 3 of 3

Macro Amendment Required For Calculation Code

  1. #1
    Forum Contributor
    Join Date
    07-07-2008
    Location
    sCOTLAND
    MS-Off Ver
    Office 2003 SP3
    Posts
    256

    Macro Amendment Required For Calculation Code

    Hi Could someone take a look at this for me please, Kindly donated by Excelx. What the code does is calculate how many pallets I have on an order.

    Basically it starts at the 10th Column (J) and goes along 3 steps at a time till it finds data then goes down the column and calculates the pallets by taking that data and also some data in rows 7 onwards

    The problem I am getting is when I get to the last column , column 31 (AE) it does not give me any calculations at all. J , M , P, S , V , Y and AB seem to work ok as far as I can make out.

    I have attached a sample to show you what I mean, it has data up to AB and seems to work ok but put data into AE and it stops, I have also noticed if I take data out of one of the columns it does not give me a correct reading. The data in AB should read 6 pallets and it does but if I take the Data out of Y column the calculation for AB changes.

    Is there a problem with the code or is there another way I could do this?

    Code

    Please Login or Register  to view this content.
    Last edited by JimmiOO; 04-27-2010 at 08:18 AM.

  2. #2
    Forum Expert
    Join Date
    11-23-2005
    Location
    Rome
    MS-Off Ver
    Ms Office 2016
    Posts
    1,628

    Re: Macro Amendment Required For Calculation Code

    Your macro needed 3 more columns blank after last row value to perform calculation.

    Now I added '+ 3' columns on column cycle of the macro:
    Please Login or Register  to view this content.
    Regards,
    Antonio

  3. #3
    Forum Contributor
    Join Date
    07-07-2008
    Location
    sCOTLAND
    MS-Off Ver
    Office 2003 SP3
    Posts
    256

    Re: Macro Amendment Required For Calculation Code

    Thank you very much for that, Problem Solved.

+ 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