+ Reply to Thread
Results 1 to 4 of 4

VBA error "Error 1004

  1. #1
    Forum Contributor
    Join Date
    03-22-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016-2019
    Posts
    144

    VBA error "Error 1004

    Best forum readers,

    I have a strange problem with vba/excel. I am working with a colleague with the same excel file via internal network and while executing vba I regularly get this message (see image).
    My colleague never gets this error but I do regularly. We both work with a DELL pc with excel 2016 and I have a backup DELL with 2010 wherever this problem occurs.

    It is very little information I can offer you but I hope there is someone who can help us with this.

    I can send you the excel file but there are a lot of network addresses here so this will never work for you.

    With kind regards,
    FvdF
    Attached Images Attached Images

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: VBA error "Error 1004

    Please clarify, do you mean you sometimes encounter the problem but on other occasions you don't?

    And are you only getting the problem when you use the Backup Dell PC. If so it suggests it may be some hardware difference. With the Bakckup Dell can you open other files without a problem?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    03-22-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016-2019
    Posts
    144

    Re: VBA error "Error 1004

    Yes, that is correct. Sometimes I don't have a problem but the next day suddenly I do. And this is on both DELL's

    FvdF

  4. #4
    Registered User
    Join Date
    03-07-2020
    Location
    Italy
    MS-Off Ver
    Office 2007
    Posts
    12

    Re: VBA error "Error 1004

    the error 1004 is a very insidious.

    Often it depends on the nature of the variables involved where the problem occurs.

    And once it happened to me with an excel file written with the 2016 version but which was not compatible with excel 2010.

+ 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] I am getting error as "Run Time error '1004' Microsoft excel cannot paste the data
    By Amittapre in forum Excel Programming / VBA / Macros
    Replies: 43
    Last Post: 03-24-2017, 04:40 PM
  2. [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
  3. [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
  4. Vlook up VBA Error when value not found "runtime error -1004"
    By sriram170 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-06-2013, 01:14 PM
  5. Run-time error "1004" Application defined or object-define-error
    By josros60 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-21-2013, 01:14 PM
  6. 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
  7. Array loop producing error "Run time error '1004'"
    By jeskit in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 05-06-2011, 08:56 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