+ Reply to Thread
Results 1 to 7 of 7

VBA not updating properly

  1. #1
    Registered User
    Join Date
    10-12-2014
    Location
    Australia
    MS-Off Ver
    2019
    Posts
    54

    VBA not updating properly

    Hi all,

    I have a problem with this code I had started working on (see code below). The code keeps generating numbers next to each other and cant seem to find the logic behind it. Any comments on the code would be greatly appreciated.

    Cheers

    Please Login or Register  to view this content.
    EDIT: I suspect the triple nesting is the problem. If there is a practical approach please let me know.
    Last edited by atomichybrid; 10-14-2014 at 11:48 PM. Reason: Additional information

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: VBA not updating properly

    Hello atomichybrid,

    Please provide some before and after examples of how the data should look on the spreadsheet.
    Sincerely,
    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!)

  3. #3
    Registered User
    Join Date
    10-12-2014
    Location
    Australia
    MS-Off Ver
    2019
    Posts
    54

    Re: VBA not updating properly

    Yes it would seem that I can't get support if I didnt put up the file. Here it is, I've change some around to make the calculation faster. I now have a different problem which is the rates not popping up correctly as I put down the rules.

    headache.xlsm

    Cheers.

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: VBA not updating properly

    Hello atomichybrid,


    Is this an estimate calculator for duct work?

    If it is, are you calculating just raw material costs per linear meter?

  5. #5
    Registered User
    Join Date
    10-12-2014
    Location
    Australia
    MS-Off Ver
    2019
    Posts
    54

    Re: VBA not updating properly

    Yes Ive figured the per lineal meter part but I want singular items like the 90 bends, dont know how to work that out.

    Also is quadruple looping a good idea? its getting really messy.

  6. #6
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: VBA not updating properly

    Hello atomichybrid,

    Since air volume and friction directly affect the size of the duct needed, shouldn't you also include these in your cost estimate?

  7. #7
    Registered User
    Join Date
    10-12-2014
    Location
    Australia
    MS-Off Ver
    2019
    Posts
    54

    Re: VBA not updating properly

    Leith,

    This workbook I'm trying to develop is when the calculations of the static pressure and duct sizing is already accounted for. I want to estimate the cost of the ducts so I have a fair idea of the cost for particular projects. I hope this clarifies things.

    Cheers

    EDIT: I've worked out how to put the rates now I have a new problem I want to put these rates to a separate sheet, and it seems to go in a continuous loop when add a fourth "For each" loop into my existing one. I open to alternative solutions on how to transfer the rates to a different sheet. Thanks
    Last edited by atomichybrid; 10-15-2014 at 11:32 PM. Reason: Extra Info

+ 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] Formulas not autofilling properly when filling down (not updating reference links)
    By potejam in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-06-2013, 02:17 AM
  2. Picture Link is Not Updating Properly
    By sreekhosh in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 05-02-2013, 09:06 AM
  3. League table not updating properly
    By Nathaniel82 in forum Excel General
    Replies: 4
    Last Post: 01-25-2010, 04:37 AM
  4. Chart axis labels not updating properly with VBA
    By d3hartm2 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-05-2009, 12:10 PM
  5. Relative References Not Updating Properly
    By pbmax626 in forum Excel General
    Replies: 1
    Last Post: 11-21-2008, 03:20 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