+ Reply to Thread
Results 1 to 8 of 8

Any idea to make code faster

  1. #1
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,095

    Any idea to make code faster

    hi,
    this is working very slow, need some modification to work faster

    Please Login or Register  to view this content.
    Use Code-Tags for showing your code :
    Please mark your question Solved if there has been offered a solution that works fine for you
    If You like solutions provided by anyone, feel free to add reputation using STAR *

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Any idea to make code faster

    I have not had the chance to test this but perhaps
    Please Login or Register  to view this content.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Forum Expert
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,513

    Re: Any idea to make code faster

    Xlnitwit like this

  4. #4
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Any idea to make code faster

    @xlnitwit,

    Toggling Calculation Mode will have a significant impact, and I believe you could tweak your Code as shown below;

    Please Login or Register  to view this content.
    Regards.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  5. #5
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Any idea to make code faster

    @Winon,

    It may speed things up, it may not. It will depend on the workbook.

    Also, without knowing the workbook structure, I cannot be sure if turning off calculation would result in the wrong values being pasted somewhere. In fact, it may be the case that the order of copying and pasting affects the results of other columns that are then copied and pasted, in which case my suggestion would not work at all.
    Last edited by xlnitwit; 02-28-2017 at 02:46 PM.

  6. #6
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,694

    Re: Any idea to make code faster

    Just for interest sake. What would the last used cell in Column B be under normal circumstances?

  7. #7
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,694

    Re: Any idea to make code faster

    Is this slow also?
    Try it on a copy of your receiving workbook and with both workbooks open.
    I would think that it is slower then the codes in Post 2 and Post 4.

    Please Login or Register  to view this content.

  8. #8
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Any idea to make code faster

    Administrative Note:
    • We would love to continue to help you with your query, but first, before we can proceed…
    • Please see Forum Rule #1 about proper thread titles and adjust accordingly...
    HTH
    Regards, Jeff

+ 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] Need make code faster.
    By abjac in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 05-28-2016, 04:21 AM
  2. [SOLVED] Anz idea how to make this code work in 2007
    By jj4jj in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-27-2016, 06:33 AM
  3. How to make my code faster?
    By chrisignm in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-12-2016, 08:08 PM
  4. [SOLVED] Make this code more efficient and faster
    By SIMBAtheCAT in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-30-2014, 10:45 AM
  5. [SOLVED] Make code Faster
    By zplugger in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-30-2013, 10:08 AM
  6. Make VBA code faster
    By Danielle22 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-28-2013, 09:01 AM
  7. [SOLVED] Make code run faster
    By ozhunter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-20-2013, 04:26 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