+ Reply to Thread
Results 1 to 8 of 8

Can you speed this up? Poor VBA code?

  1. #1
    Registered User
    Join Date
    09-21-2012
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    13

    Can you speed this up? Poor VBA code?

    I think this copy/paste routine is slowing my macro. Is there a better way of writting it? Thanks

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Can you speed this up? Poor VBA code?

    Try this
    Please Login or Register  to view this content.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Can you speed this up? Poor VBA code?

    Shortest with out paste special

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    09-21-2012
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: Can you speed this up? Poor VBA code?

    Thanks Arlu, it's certainly tidied up my code but made little difference to the speed.

    It must be something else slowing it up.

  5. #5
    Registered User
    Join Date
    09-21-2012
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: Can you speed this up? Poor VBA code?

    AB33 (thanks for the reply btw) and Arlu, At the risk of asking too much can you take a look at this - it's awful VBA i know but may be the casue of my slow macro:

    Please Login or Register  to view this content.

  6. #6
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Can you speed this up? Poor VBA code?

    I have not tested it, so it may throw you an error

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    09-21-2012
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: Can you speed this up? Poor VBA code?

    Thanks AB33, there was an error but I managed to take some of your code to make it work.

    Overall there is now a huge increase in performance so this one is well and truley SOLVED,

  8. #8
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Can you speed this up? Poor VBA code?

    Glad to be helpful and you are welcome!

+ 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