+ Reply to Thread
Results 1 to 2 of 2

Run time error 1004, plz help. Urgent

  1. #1
    Registered User
    Join Date
    09-13-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    1

    Run time error 1004, plz help. Urgent

    Hi,

    I have written a code in excel to read in a number of values from a table, then perform some equations and finally obtain a set of data. The set of data is then to be output into another worksheet called Output.

    But I am getting an error: Run time Error 1004, in the line of code where I am computing the size of the input data range.

    This line generally executes when I step through it but when I perform the calculations, by clicking on a button it stops at that line.

    Does anyone have any idea on what the issue could be?

    Your help is appreciated

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Run time error 1004, plz help. Urgent

    Welcome to the Forum!

    Error 1004 is a common error and can be caused by many things. There is no hope of diagnosing your error unless you provide your file so we can see all the code and observe what conditions are when the error occurs. Any time you request help for diagnosing a runtime error you should attach your file, or at a minimum include the code in your post.

    To post a file:
    1. Under the text box where you type your reply click the Go Advanced button.
    2. In the next screen look above the reply box and click the paper click icon. You will get a pop-up screen.
    3. In the pop-up, click Add then Select to select a file from your local drive
    4. Upload it
    5. Click Done to attach it.

    It will be displayed underneath your post text. Alternatively as the last step you can click the Insert Inline button and a hyperlink to the file will be inserted directly into your post text in the spot where your cursor is set at the moment you click the button.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Error "run-time Error '1004': General Odbc Error
    By D4WNO77 in forum Access Tables & Databases
    Replies: 2
    Last Post: 07-16-2012, 09:55 AM
  2. Excel Macro Error - Run time error 1004 - Paste method of worksheet class failed
    By kvflynn in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-15-2012, 10:51 AM
  3. Run-time error '1004': Macro error, only when shared
    By Pergo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-13-2011, 12:57 PM
  4. Replies: 4
    Last Post: 05-04-2006, 08:00 AM
  5. [SOLVED] run-time error '1004': Application-defined or object-deifined error
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-10-2005, 05:05 PM

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