+ Reply to Thread
Results 1 to 3 of 3

Excel VBA Runtime 1004 Error

  1. #1
    Registered User
    Join Date
    08-07-2012
    Location
    Minneapolis, MN
    MS-Off Ver
    Excel 2010
    Posts
    2

    Excel VBA Runtime 1004 Error

    Hello everyone,

    Running into issues with a 1004 runtime error. I've used this code for several months without issue. This past month my customer added a few new columns to their report. I updated the code to delete them accordingly. I've tried adding these columns to a previous report and it runs fine. Something specific with the file?

    Errors out on the following line: Sheets(1).Range("A1:O" & DestRow).Value = DestArray.

    Any help would be greatly appreciated.

    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    08-07-2012
    Location
    Minneapolis, MN
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Excel VBA Runtime 1004 Error

    Disregard. Was able to figure it out. One of the field's values started with an "=" which must have thrown off the code. Once I removed it, it ran successfully.

  3. #3
    Forum Contributor bonny24tycoon's Avatar
    Join Date
    04-02-2012
    Location
    Hell
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    405

    Re: Excel VBA Runtime 1004 Error

    If your issue has been resolved, can you mark this thread as solved?
    Thanks,

    Bonny Tycoon


+ 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