+ Reply to Thread
Results 1 to 2 of 2

VBA Runtime Error 1004 "Application-defined or Object-defined error" when Selecting Range

  1. #1
    Registered User
    Join Date
    09-17-2021
    Location
    Gdynia
    MS-Off Ver
    2016
    Posts
    66

    VBA Runtime Error 1004 "Application-defined or Object-defined error" when Selecting Range

    Hey All,
    I have a macro that copies data from wb to wbME. I wanted to group the items A3 to A4 in the PivotTable before copying it. and then copied the data from the PivotTable to column F3.
    Then have these values copied from F3 to another file wbME but i get error here:
    Please Login or Register  to view this content.
    Error:Runtime Error 1004 "Application-defined or Object-defined error"
    Please Login or Register  to view this content.

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,908

    Re: VBA Runtime Error 1004 "Application-defined or Object-defined error" when Selecting Ra

    Try this way.

    Please Login or Register  to view this content.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

+ 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. [SOLVED] Error 1004 "Application-defined or Object-defined error" when selecting a range.
    By Vj Raj in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-05-2021, 08:55 AM
  2. Replies: 4
    Last Post: 11-13-2015, 09:03 PM
  3. Replies: 5
    Last Post: 08-19-2015, 07:10 PM
  4. [SOLVED] Frequently Used Macro now Giving a" Runtime Error '1004 Application-Object Defined Error"
    By rjw524 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-02-2015, 02:39 PM
  5. [SOLVED] Run time error:1004 "Application defined or Object defined error"
    By mvneema in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-07-2014, 09:47 AM
  6. Error When Implementing Code: "1004 - Application-defined or object-defined error"
    By blueblazingdemon in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-10-2013, 11:21 AM
  7. Replies: 1
    Last Post: 05-06-2013, 06:07 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