Results 1 to 6 of 6

Why is my Simple Recorded Macro not working?

Threaded View

  1. #1
    Registered User
    Join Date
    07-30-2013
    Location
    Cardiff, Wales
    MS-Off Ver
    Excel 2000
    Posts
    23

    Why is my Simple Recorded Macro not working?

    Hi everyone,

    I have recorded a macro to input a formula and drag down to get results for a whole table. Really simple.

    This is what I wrote:

    Sub NotWorking()
    '
    ' Macro14 Macro
    ' Macro recorded 27/08/2013 by hughesa
    '
    
    '
        ActiveCell.FormulaR1C1 = _
            "=IF(ISERROR(INDEX(R4C12:R47C12,MATCH(LEFT(R[-1]C[-5],13),R4C10:R47C10,0))),"""",INDEX(R4C12:R47C12,MATCH(LEFT(R[-1]C[-5],13),R4C10:R47C10,0)))"
        Range("F5").Select
        Selection.FillDown
        Selection.End(xlUp).Select
    End Sub
    When I run this macro, why does nothing occur on the screen? viz a viz, no formulas appear where they are intended to be.

    See attached workbook: To see what I'm on about, on open sheet, run macro "NotWorking"

    Any help would be greatly appreciated!

    Andrew
    Attached Files Attached Files
    Last edited by andrew93hughes; 08-27-2013 at 06:54 AM. Reason: grammar

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Making Simple Recorded Macro Generally Applicable
    By One-Eyed Enos in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-06-2012, 11:16 AM
  2. Recorded Macro not Working Properly
    By ilias in forum Excel General
    Replies: 1
    Last Post: 07-15-2010, 09:47 AM
  3. Error in a simple recorded Macro
    By modytrane in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-10-2008, 11:23 AM
  4. VB code request for a Working Recorded Macro
    By hsmeet in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-30-2007, 11:40 AM
  5. Simple recorded macro crashes on playback. Why?
    By Paul in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-09-2005, 04:10 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