+ Reply to Thread
Results 1 to 2 of 2

In code using usedrange Error message 1004 Out of stack space?

  1. #1
    Registered User
    Join Date
    10-21-2010
    Location
    Copenhagen
    MS-Off Ver
    Excel 2003
    Posts
    33

    In code using usedrange Error message 1004 Out of stack space?

    I have a simple worksheet that doesn't contain alot (for now) only some headlines in the cells: A2,B2,C2

    I have written a code string in Office 2007 which writes the used range address of of the sheet to the cell A1, but when I open the workbook in Excel 97 the codestring doesn't seem to work i just get the following error message:

    Run-time error '1004:

    Out of stack space


    The code string is as follows:

    Please Login or Register  to view this content.
    Can this be fixed?

    Or is there an alternative to the Usedrange.Addres code?

    Please help.

    /Freakazoid

  2. #2
    Valued Forum Contributor
    Join Date
    08-29-2011
    Location
    Mississauga, CANADA
    MS-Off Ver
    Excel 2010
    Posts
    503

    Re: In code using usedrange Error message 1004 Out of stack space?

    Use:

    Please Login or Register  to view this content.
    Regards,
    Khaled Elshaer
    www.BIMcentre.com

    Remember To Do the Following....
    1. Thank those who have helped you by clicking the Star below their post.
    2. Mark your post SOLVED if it has been answered satisfactorily:
    • Select Thread Tools (on top of your 1st post)
    • Select Mark this thread as Solved

+ 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