+ Reply to Thread
Results 1 to 4 of 4

Lengthy In-Efficiant Code Linked with Combobox Needs to be Reduced

  1. #1
    Registered User
    Join Date
    01-17-2013
    Location
    Karachi
    MS-Off Ver
    Excel 2003 + Excel 2010
    Posts
    19

    Post Lengthy In-Efficiant Code Linked with Combobox Needs to be Reduced

    Hi Friends,

    I have a lengthy in-efficiant code which depends on combobox value. when the combobox value changes it performs calculations in some columns on particular data range.

    The code is too lengthy and needs to be treated from an expert who can reduce it.

    Inserting the code and snap shot of macro sheet. Capture.jpg

    Thak u very much in advance.

    Please Login or Register  to view this content.
    Last edited by asgharhussaini; 12-05-2013 at 04:25 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,515

    Re: Lengthy In-Efficiant Code Linked with Combobox Needs to be Reduced

    Replace the whole lot with:

    Please Login or Register  to view this content.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,515

    Re: Lengthy In-Efficiant Code Linked with Combobox Needs to be Reduced

    Or, better:

    Please Login or Register  to view this content.

    Will get rid of any #DIV/0! errors.


    Regards, TMS

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,515

    Re: Lengthy In-Efficiant Code Linked with Combobox Needs to be Reduced

    Thanks for the rep.



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ 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. Linked Excel chart in Word updates with reduced quality
    By Jdalton in forum Word Formatting & General
    Replies: 6
    Last Post: 04-09-2013, 03:50 AM
  2. How to get Workbook_SheetChange code to run from a ComboBox dropdown linked cell
    By Warfarin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-13-2013, 08:08 PM
  3. Combobox source , linked to other combobox value ??(DYNAMIC)
    By stevnb in forum Excel Programming / VBA / Macros
    Replies: 40
    Last Post: 01-25-2013, 05:28 AM
  4. Shorten a lengthy code
    By Pyro Form in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-27-2012, 04:51 AM
  5. Adding conditions and variables to lengthy code
    By scowalt in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-04-2011, 03:37 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