+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Macro intiated from a cell, The code is too large to execute, how to improve it?

  1. #1
    Registered User
    Join Date
    08-08-2008
    Location
    Johannesburg
    MS-Off Ver
    2007
    Posts
    55

    Macro intiated from a cell, The code is too large to execute, how to improve it?

    Hi Guys

    I'm using the following code to start a little macro that when clicking on a cell, it will populate the value in another cell.

    The problem I'm facing is that I need over 1200 cells with this code (it's divided to 3 columns, 400 cells in a column)
    And while creating a code for each and every cell, Excel giving me an error, saying the code is to large to execute.

    Is there a way to improve the code, so I can use it on a large scale?

    Here is the code:
    Please Login or Register  to view this content.
    This code needed for Columns N, O, P.
    400 cells each. ("N1:N400") etc'

    Many thanks for your help

    Amit
    Using Excel 2007.
    Amit Cohen

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Macro intiated from a cell, The code is too large to execute, how to improve it?

    Hi,

    How about just
    Please Login or Register  to view this content.
    Regards
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    08-08-2008
    Location
    Johannesburg
    MS-Off Ver
    2007
    Posts
    55

    Re: Macro intiated from a cell, The code is too large to execute, how to improve it?

    Hi Richard

    Thanks a million!!
    Problem solved.

    All the best,

+ 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