+ Reply to Thread
Results 1 to 5 of 5

Run-time error '1004': Unable to set the FormulaArray property of the Range class

  1. #1
    Registered User
    Join Date
    09-16-2019
    Location
    Italy
    MS-Off Ver
    2016
    Posts
    48

    Unhappy Run-time error '1004': Unable to set the FormulaArray property of the Range class

    Hi, i am trying to set formula using VBA, but i keep getting that error '1004'. I checked and my formula isn't longer than the maximum array size (255).

    Please Login or Register  to view this content.
    What's the problem?

  2. #2
    Valued Forum Contributor
    Join Date
    12-14-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2007
    Posts
    439

    Re: Run-time error '1004': Unable to set the FormulaArray property of the Range class

    Hi Lomoo,

    Try use comma instead of semicolon.

  3. #3
    Registered User
    Join Date
    09-16-2019
    Location
    Italy
    MS-Off Ver
    2016
    Posts
    48

    Re: Run-time error '1004': Unable to set the FormulaArray property of the Range class

    Hi, huuthang_bd,

    no more errors, but now the cells turns like : #NAME?

    Here is the code :

    Please Login or Register  to view this content.

  4. #4
    Valued Forum Contributor
    Join Date
    12-14-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2007
    Posts
    439

    Re: Run-time error '1004': Unable to set the FormulaArray property of the Range class

    Hi again,

    The formula return #Name error because the functions is not defined. What are the SE and LUNGHEZZA functions in your formula?

  5. #5
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Run-time error '1004': Unable to set the FormulaArray property of the Range class

    You need to use the English spellings of the functions, i.e. IF (SE) and LEN (LUNGHEZZA).
    If posting code please use code tags, see here.

+ 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. .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
  2. [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
  3. [SOLVED] Run-time error '1004' - Unable to set the Hidden property of the Range class
    By redoscar in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-04-2017, 09:34 AM
  4. 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
  5. unable to set FormulaArray property of Range Class Error
    By BuglerX in forum Access Programming / VBA / Macros
    Replies: 1
    Last Post: 11-23-2011, 01:13 PM
  6. unable to set FormulaArray property of Range class Error
    By BuglerX in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-23-2011, 12:14 PM
  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

Tags for this Thread

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