Results 1 to 3 of 3

Cleaning up Code, better solutions?

Threaded View

  1. #1
    Registered User
    Join Date
    02-04-2010
    Location
    Songtan, South Korea
    MS-Off Ver
    Excel 2007
    Posts
    1

    Cleaning up Code, better solutions?

    Honestly I'm a relative noob when it comes to Excel. I can do the basics and maybe a few intermediate things, but thats about it.

    I took over a job monitoring and identifiying unauthorized software on the machines on our network, and the concept laid out by the guy before me, is interesting and very functional... but there's a hitch:

    The code in the Macro he developed to identify unauthorized looks like this:

    Cells.Replace What:="Acer eDisplay Management* (*)[*]", Replacement:="" _
    , LookAt:=xlPart, SearchOrder:=xlByRows, MatchCase:=False, SearchFormat _
    :=False, ReplaceFormat:=True

    and it works fine, except that his macro only containd 30 or so items each with its own line of code, and the list that is intended to be used has about 2600 items! that many lines of code causes a "procedure too large" error.

    Having no real expierence with exel macros, and no one to get help from locally, I wanted to know if there was a way to still incorperatre the 2600 items and not get the error.

    Any help would be appriciated
    Last edited by rod419; 02-04-2010 at 07:12 PM.

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