+ Reply to Thread
Results 1 to 9 of 9

transfer a formula with a macro

  1. #1
    Forum Contributor
    Join Date
    01-28-2013
    Location
    Rugby
    MS-Off Ver
    365
    Posts
    205

    transfer a formula with a macro

    Good Morning

    I would like to transfer this formula to a macro, any help with this would be myuch apreciated

    =IFERROR(INDEX('[Holidays 2014_2015.xlsm]Holidays'!$E$13:$E$300,SMALL(IF(""=OFFSET('[Holidays 2014_2015.xlsm]Holidays'!$O$12,1,MATCH($B$4,'[Holidays 2014_2015.xlsm]Holidays'!$P$12:$NS$12,0),ROWS('[Holidays 2014_2015.xlsm]Holidays'!$E$13:$E$300)), ROW('[Holidays 2014_2015.xlsm]Holidays'!$E$13:$E$300)-ROW('[Holidays 2014_2015.xlsm]Holidays'!$E$13)+1, ""), ROW(A1))),"")

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: transfer a formula with a macro

    Maybe:?

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    01-28-2013
    Location
    Rugby
    MS-Off Ver
    365
    Posts
    205

    Re: transfer a formula with a macro

    how should i enetr the range, i would like this date inserted in cell B to cell B300
    Quote Originally Posted by JOHN H. DAVIS View Post
    Maybe:?

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    01-28-2013
    Location
    Rugby
    MS-Off Ver
    365
    Posts
    205

    Re: transfer a formula with a macro

    cell b5 sorry
    Quote Originally Posted by luis6777 View Post
    how should i enetr the range, i would like this date inserted in cell B to cell B300

  5. #5
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: transfer a formula with a macro

    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    01-28-2013
    Location
    Rugby
    MS-Off Ver
    365
    Posts
    205

    Re: transfer a formula with a macro

    hi

    Thanks for this, unfortunatly nothing happen
    Quote Originally Posted by JOHN H. DAVIS View Post
    Please Login or Register  to view this content.

  7. #7
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: transfer a formula with a macro

    Is your workbook Holidays... open?

  8. #8
    Forum Contributor
    Join Date
    01-28-2013
    Location
    Rugby
    MS-Off Ver
    365
    Posts
    205

    Re: transfer a formula with a macro

    yes, but what im looking is for a macro that will give me the same result than the formula not to copy the formula in the cells

  9. #9
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: transfer a formula with a macro

    Try:

    Please Login or Register  to view this content.

+ 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: 01-18-2013, 10:49 PM
  2. [SOLVED] Macro to transfer data as values to another sheet based on the result from a formula
    By bpiroma in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-19-2012, 07:22 AM
  3. Transfer macro
    By Loisw in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-01-2009, 03:06 AM
  4. Transfer formula into vba code for macro
    By JP7 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-08-2007, 02:51 AM
  5. [SOLVED] Transfer a macro
    By kaw in forum Excel General
    Replies: 1
    Last Post: 02-10-2005, 05:06 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