+ Reply to Thread
Results 1 to 3 of 3

Formulas in VBA runtime Error 1004

  1. #1
    Registered User
    Join Date
    04-08-2015
    Location
    Merica
    MS-Off Ver
    2010
    Posts
    7

    Formulas in VBA runtime Error 1004

    Can seem to find an issue like this on google.
    I just don't understand.

    Receiving a runtime error 1004 which highlights the second code snippet below.
    "Application-Defined or Object-Defined error"

    This works:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    This doesn't work:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The 2nd code is directly following the first.

    Any ideas?

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,083

    Re: Formulas in VBA runtime Error 1004

    Hi,

    It looks like you are missing a closing bracket
    Please Login or Register  to view this content.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Registered User
    Join Date
    04-08-2015
    Location
    Merica
    MS-Off Ver
    2010
    Posts
    7

    Re: Formulas in VBA runtime Error 1004

    Well... crap haha.
    I did NOT expect that, considering I pasted it straight from the working formula, wow no idea how I missed that! Must have deleted a bracket by mistake after pasting, prob when adding that ending quote.
    Thanks very much! Phew!

+ 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. Runtime error '1004': Paste special method of range class error.
    By Daryl Zer0 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-05-2014, 01:44 AM
  2. [SOLVED] VBA Error: Runtime Error 1004: AutoFilter method of Range class failed
    By jl22stac in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-03-2013, 07:27 PM
  3. [SOLVED] Range error in code, runs alone but not inside my full program, giving runtime error 1004
    By charizzardd in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-23-2012, 03:34 PM
  4. Runtime error 1004
    By Daniel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-19-2005, 12:05 AM
  5. [SOLVED] Excel 2003 Macro Error - Runtime error 1004
    By Cow in forum Excel General
    Replies: 2
    Last Post: 06-07-2005, 09:05 AM
  6. Runtime error 1004
    By zigtag3d in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-27-2005, 07:31 PM
  7. Runtime 1004 error
    By zigtag3d in forum Excel General
    Replies: 0
    Last Post: 03-27-2005, 04:42 PM

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