+ Reply to Thread
Results 1 to 2 of 2

Error 1004 - Unable to set the FormulaArray property...

  1. #1
    Registered User
    Join Date
    09-27-2019
    Location
    Zagreb, Croatia
    MS-Off Ver
    2007, 2010
    Posts
    1

    Error 1004 - Unable to set the FormulaArray property...

    Hi,

    I'm trying to write an array formula in VBA:
    Range("B15").FormulaArray = "=INDEX('BASE PRODUCTION PROFILE'!$A$6:$A$800;MATCH(MIN(ABS('BASE PRODUCTION PROFILE'!$A$6:$A$800-A15));ABS('BASE PRODUCTION PROFILE'!$A$6:$A$800-A15);0))"

    It's not working, showing me the error in the title.

    Thank you very much!

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Error 1004 - Unable to set the FormulaArray property...

    Welcome to the forum

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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. Replies: 4
    Last Post: 09-16-2019, 07:04 AM
  2. .FormulaArray causes Run Time Error 1004, Unable to set the FormulaArray property
    By dluhut in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-28-2017, 03:12 PM
  3. [SOLVED] Run-time error '1004': Unable to set the FormulaArray property of the Range class
    By billj in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-24-2017, 10:30 AM
  4. Error on unable to set FormulaArray Property
    By Matthewious2016 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-23-2016, 09:48 PM
  5. 1004: Unable to set the FormulaArray property of the Range class
    By drrazor in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-10-2015, 11:39 AM
  6. long formula to vba macro - error 1004 unable to set formulaarray property
    By desibabuji in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-08-2013, 06:18 AM
  7. Unable to set the FormulaArray Property of the Range Class - Error 1004
    By manchmal2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-24-2010, 05:08 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