+ Reply to Thread
Results 1 to 2 of 2

Application defined error Or or object defined error Run time error 1004

  1. #1
    Forum Contributor
    Join Date
    07-28-2018
    Location
    India
    MS-Off Ver
    2013
    Posts
    173

    Application defined error Or or object defined error Run time error 1004

    Hi,

    I have a below code that is giving an Error (Application defined error Or or object defined error Run time error 1004), So plz help me in solving this problem
    Macro will be placed in Macro.xlsm

    Please Login or Register  to view this content.
    Note: We will not Open co.csv in excel

    Condition:
    If co.csv has rejected in Status And co.csv symbol = coloumn C of basketorder.csv And co.csv Buy sell = coloumn J of basketorder.csv And co.csv Buy sell = "BUY"then
    Copy L data Of basketOrder.csv to coloumn G of basketorder.csv
    In Coloumn K of basketorder.csv put SL
    In Coloumn T of basketorder.csv put NA

    ElseIf co.csv has rejected in Status And co.csv symbol = coloumn C of basketorder.csv And co.csv Buy sell = coloumn J of basketorder.csv And co.csv Buy sell = "SELL"then
    In Coloumn K of basketorder.csv put MARKET
    In Coloumn L of basketorder.csv put NA
    In Coloumn T of basketorder.csv put NA

    Elseif clear that entire row


    Thnx For the Help
    Attached Files Attached Files
    Last edited by Leonardo1234; 02-06-2023 at 03:41 AM.

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Arrow Re: Application defined error Or or object defined error Run time error 1004


    Quote Originally Posted by Leonardo1234 View Post
    I have a below code that is giving an Error
    Hi,

    as again it depends on the codeline rising the error so as I won't guess just check the codeline, its variables, …

+ 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. Run-time error '1004'; Application-defined or object-defined error on Pivot Table VBA
    By GordonKy42 in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 06-27-2022, 10:55 AM
  2. [SOLVED] Error message: Run-Time error '1004 '; application-defined or object-defined error
    By Davasu in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-23-2015, 06:52 AM
  3. Replies: 1
    Last Post: 10-22-2015, 05:50 AM
  4. VBA ERROR: run time error 1004: Application-defined or Object-defined error in excel 2013
    By AnanthKrishna in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-13-2015, 06:16 AM
  5. excel macro run time error '1004'- Application defined or object defined error
    By kmadan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-16-2014, 09:51 AM
  6. Replies: 1
    Last Post: 03-12-2014, 12:42 PM
  7. [SOLVED] Error " Run-time error '1004': application defined or object defined error
    By lengwer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-11-2013, 07:26 AM

Tags for this Thread

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