+ Reply to Thread
Results 1 to 2 of 2

Rewriting macro recorded code for efficiency

  1. #1
    Registered User
    Join Date
    11-30-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1

    Lightbulb Rewriting macro recorded code for efficiency

    Hey guys,

    I have a spreadsheet that runs extremely slow when I try to run code recorded by a macro. I suspect it will run faster if the macro used more efficient code. It seems like an easy fix, but I have almost no experience with the VBA language. I get run time errors when I try to make edits like removing/combining unneeded lines like .Select methods.

    Any help? Here's the code:

    Please Login or Register  to view this content.
    Thanks in advance

  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: Rewriting macro recorded code for efficiency

    Maybe if you can explain what the code is doing or what task you need to be performed, we can try and help out in re-working it out for you.
    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]

+ 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