+ Reply to Thread
Results 1 to 3 of 3

1004 - Run Time Error Application Defined or Object Defined Error

  1. #1
    Registered User
    Join Date
    08-13-2012
    Location
    Overland Park, KS
    MS-Off Ver
    Excel 2010
    Posts
    1

    1004 - Run Time Error Application Defined or Object Defined Error

    Hi, I am new to this group.

    I am not a VB coder. I have recored a macro, but when I am executing I am getting 1004 run time error.

    Getting error at this line.

    Please Login or Register  to view this content.
    Total code is below.


    Please Login or Register  to view this content.
    Last edited by arlu1201; 08-14-2012 at 04:25 AM.

  2. #2
    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: 1004 - Run Time Error Application Defined or Object Defined Error

    The problem is the formula, not the code.

    Change Excel to R1C1 mode, then run this:

    Please Login or Register  to view this content.
    The formula will print in the Immediate window. Copy it and try to put it in a cell. Fix the formula so it works when you enter it from the UI, then fix the code.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: 1004 - Run Time Error Application Defined or Object Defined Error

    sandhyasrik,

    Welcome to the forum.

    I have added code tags to your post. As per forum rule 3, you need to use them whenever you put any code in your post. Please add them in future. If you need more information on how to use them, check my signature.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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