Results 1 to 4 of 4

run time error 1004 application defined or object defined error

Threaded View

  1. #1
    Registered User
    Join Date
    10-08-2016
    Location
    PAKISTAN
    MS-Off Ver
    OFFICE 2016
    Posts
    75

    run time error 1004 application defined or object defined error

    When executing following code in VBA

    Sub CopyMultiples()
    Dim c As Range
    Const NumCopies As Long = 2

    For Each c In Columns("A").SpecialCells(xlConstants)
    c.Copy Destination:=c.Resize(NumCopies + 1)
    Next c
    End Sub


    an error message "run time error 1004 application defined or object defined error" is displayed.

    Please note that the Columns "A" consists of 73000 cell, i.e. A1:A73000.
    A screenshot of the error is also attached
    Attached Images Attached Images
    Last edited by asad.ermo; 05-03-2023 at 11:09 AM.

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. 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
  4. 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
  5. Replies: 1
    Last Post: 03-12-2014, 12:42 PM
  6. [SOLVED] Run time error 1004 Application-Defined or Object-Defined Error - Placing data into next e
    By michelle 1 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-27-2014, 12:57 PM
  7. [SOLVED] run-time error '1004' application-defined or object-defined error - Excel 2007
    By kaurka in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-06-2012, 02:46 AM

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