+ Reply to Thread
Results 1 to 2 of 2

VBA. Array formula. Insert rows and copy formulae down.

  1. #1
    Registered User
    Join Date
    11-12-2014
    Location
    Newcastle, England
    MS-Off Ver
    2010
    Posts
    54

    VBA. Array formula. Insert rows and copy formulae down.

    Hi, hope you can help.

    I have the following code which worked perfectly to insert 10 rows into a salary sheet when necessary.

    HTML Code: 
    I've since added an array formula into one of the columns and when you run the code, I get the error saying that you cant change part of any array.

    I've tried different things but can't quite get it to work.

    Thanks in anticipation.

  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,085

    Re: VBA. Array formula. Insert rows and copy formulae down.

    Hi,

    You cannot manually insert a row within a multirow array formula either. You need to remove the array before you can do it either way.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

+ 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. Insert 2 rows wit formulae after every 6 six rows
    By Thom1990 in forum Excel General
    Replies: 1
    Last Post: 04-13-2014, 04:25 PM
  2. Insert rows and copy formula
    By costin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-05-2013, 10:54 AM
  3. Insert 2 rows, copy the formula.
    By JennyVBA in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-28-2010, 07:35 PM
  4. Insert Rows- Formulae
    By dbodd in forum Excel General
    Replies: 1
    Last Post: 02-22-2007, 07:10 AM
  5. insert rows needs to copy formula
    By Mark J Kubicki in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-09-2006, 11:06 PM
  6. Macro to Insert a row and copy Formulae
    By Philip J Smith in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-02-2006, 11:35 AM
  7. macro to insert pair of formulae in x number of rows -URGENT!!!
    By marika1981 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-22-2005, 12:05 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