+ Reply to Thread
Results 1 to 5 of 5

Runtime Error 1004 on VBA cell formula

  1. #1
    Registered User
    Join Date
    07-12-2018
    Location
    Houston, Texas
    MS-Off Ver
    2016
    Posts
    44

    Runtime Error 1004 on VBA cell formula

    So I'm stuck on an error which is preventing me from moving forward. My formula is correct and I'm thinking I'm calling the argument correctly as well but I'm getting runtime error 1004. Any help would be appreciated! I'm using circular reference if that makes any difference. Thanks!

    Please Login or Register  to view this content.

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Runtime Error 1004 on VBA cell formula

    Hello hnguy71,

    Try it this way;

    Please Login or Register  to view this content.
    Regards.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  3. #3
    Registered User
    Join Date
    07-12-2018
    Location
    Houston, Texas
    MS-Off Ver
    2016
    Posts
    44

    Re: Runtime Error 1004 on VBA cell formula

    Nice! That works. Thanks for the fast response! Could you tell me why the added "" worked?

  4. #4
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Runtime Error 1004 on VBA cell formula

    Hi hnguy71,

    Thank you for the quick feedback.

    The added "" is required by VBA Coding.

    You are welcome, glad I could help.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Thanks.
    Last edited by Winon; 07-16-2018 at 06:40 PM. Reason: Forgot to reply to question

  5. #5
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Runtime Error 1004 on VBA cell formula

    Sorry hnguy71,

    I have edited my post to answer your question about why the extra "" is required.

    Regards.

+ 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. VBA code that adds comment to cell by userform; runtime error 1004 when left blank
    By dmbroekhuysen in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-26-2014, 01:02 PM
  3. [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
  4. [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
  5. Runtime error 1004 when adding SUMPRODUCT formula with VBA
    By Brunstgnegg in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-13-2010, 07:07 AM
  6. Using a macro to put a function in a certain cell (runtime error 1004)
    By Juhanen II in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-30-2007, 10:29 AM
  7. [SOLVED] Excel 2003 Macro Error - Runtime error 1004
    By Cow in forum Excel General
    Replies: 2
    Last Post: 06-07-2005, 09:05 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