+ Reply to Thread
Results 1 to 7 of 7

Run Time Error 1004 - Selection too Large

  1. #1
    Registered User
    Join Date
    04-01-2009
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    4

    Run Time Error 1004 - Selection too Large

    Hi All,

    I am a noob with marco so please bear with my question or lack of knowledge.

    I have a macro that runs on a command button. When I click the button, it works fine to up to ~2500 rows but if I were to increase the values I get a 'Run Time Error 1004, selection too large.

    The code is as follows:-
    Please Login or Register  to view this content.
    When I go into debug mode, it is highlighting on the line ActiveSheet.PasteLink.

    Any ideas anyone?
    Last edited by sgedo; 04-01-2009 at 11:56 AM.

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983

    Re: Run Time Error 1004 - Selection too Large

    Welcome to Exceltip forum

    Please take a couple of minutes and read ALL theForum Rules then wrap your VBA code (Rule 3)
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

  3. #3
    Registered User
    Join Date
    04-01-2009
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Run Time Error 1004 - Selection too Large

    Thanks for the links mudraker

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Run Time Error 1004 - Selection too Large

    Please Login or Register  to view this content.
    doesn't appear in your code.

    Try this:
    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Registered User
    Join Date
    04-01-2009
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Run Time Error 1004 - Selection too Large

    Shg,

    Thanks for the codes but I still get the same error (Selection too large) if I were to load/check enteries more than 3000.

    When I debug the stops at the following line.

    Please Login or Register  to view this content.

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Run Time Error 1004 - Selection too Large

    What's the value of RowDepth when it fails?

  7. #7
    Registered User
    Join Date
    04-01-2009
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Run Time Error 1004 - Selection too Large

    shg, the number I tested is about 2733 before I get the error message.

+ 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