Results 1 to 3 of 3

Insert formula in column with one macro - change

Threaded View

  1. #1
    Registered User
    Join Date
    08-24-2015
    Location
    Portugal
    MS-Off Ver
    2016
    Posts
    31

    Insert formula in column with one macro - change

    I fill a table with information of another sheet using a macro. Now I want to add one more column in the table to fill the column "H":

    =PROCV(C2;Referências!F:J;5;0)


    What we were trying it was:

    'Sheets("CreateOrders").Range("H2").Formula = "=PROCV(C2;Referências!F:J;5;0)"
    'Sheets("CreateOrders").Range("H2", "H" & Cells(Rows.Count, 1).End(xlUp).Row).FillDown
    But it isn't working. Someone can help me?
    Attached Images Attached Images
    Last edited by JBeaucaire; 03-10-2016 at 08:38 PM. Reason: Added missing CODE tags. Please read and follow the Forum Rules, link above in the menu bar. Thanks.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Insert formula in column with one macro - change
    By asm19 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-11-2016, 08:36 AM
  2. Automatically change the range of the Macro Formula when i insert column or row ??
    By jasond1992 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 12-08-2015, 01:57 AM
  3. [SOLVED] Macro to insert formula in the column below the last row
    By meabrams in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-07-2015, 05:16 AM
  4. Macro to insert formula and copy down column
    By robertguy in forum Excel General
    Replies: 4
    Last Post: 03-01-2012, 12:03 PM
  5. Insert row after date change
    By nana15nuna in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-24-2012, 11:43 PM
  6. Need to create a macro to insert row after a value change in a column
    By vjboaz in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-01-2008, 02:04 PM
  7. macro to Insert rows at every change in a column
    By karthikr22@gmail.com in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-03-2005, 09:05 AM

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