+ Reply to Thread
Results 1 to 4 of 4

Simplify Excel VB code

  1. #1
    Registered User
    Join Date
    09-03-2006
    Posts
    8

    Simplify Excel VB code

    Hello all, I am hoping for someone to examine my code below and advise on how to make it run more efficiently. Thanks in advance.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Simplify Excel VB code

    It would help if you'd tell us what you're trying to do.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    02-17-2009
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    34

    Re: Simplify Excel VB code

    Deleted code in red
    Added code in blue

    Please Login or Register  to view this content.
    Last edited by dustycrockett; 03-16-2009 at 08:51 PM.

  4. #4
    Registered User
    Join Date
    09-03-2006
    Posts
    8

    Re: Simplify Excel VB code

    The code needs to loop through all the Production Lines (1 to 15) – between the Prod’ Lines is a list of orders (amount of orders varies) I need to programmatically copy a different formula dependent on the Prod’ Line.
    So between Prod’1 and Prod’2 will be Formula 1, between Prod’2 & Prod’3 will be formula 2, etc etc.
    I hope this makes sense, my VB code works but as I was hoping make it simpler.

+ 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